themattrix/bashup

View on GitHub

Showing 4 of 15 total issues

File test_parse.py has 383 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import string

import itertools
import pyparsing as pp
import pytest
Severity: Minor
Found in bashup/test/test_parse.py - About 5 hrs to fix

    File test_elements.py has 281 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import textwrap
    
    from ...compile import elements
    from ... import parse
    from ... import test
    Severity: Minor
    Found in bashup/test/test_compile/test_elements.py - About 2 hrs to fix

      Function __assert_compiled_bash has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def __assert_compiled_bash(
      Severity: Minor
      Found in bashup/test/test_bashup.py - About 35 mins to fix

        Function run_file has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def run_file(to_run, args, compile_fn=bash.compile_to_bash, run_fn=subprocess.call, temp_file_ctx=temporary.temp_file):
        Severity: Minor
        Found in bashup/__main__.py - About 35 mins to fix
          Severity
          Category
          Status
          Source
          Language