Enyx-SA/yassh

View on GitHub

Showing 4 of 4 total issues

Execution has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class Execution(object):
    '''
    This class is used to run a shell execution.
    '''

Severity: Minor
Found in yassh/execution.py - About 2 hrs to fix

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

    def remote_copy(remote, local_path, remote_path,
    Severity: Minor
    Found in yassh/remote_copy.py - About 35 mins to fix

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

          def __init__(self, reactor, remote,
      Severity: Minor
      Found in yassh/remote_copy.py - About 35 mins to fix

        Over-indented
        Open

                pass
        Severity: Minor
        Found in examples/dependent.py by pep8

        Use indent_size (PEP8 says 4) spaces per indentation level.

        For really old code that you don't want to mess up, you can continue
        to use 8-space tabs.
        
        Okay: a = 1
        Okay: if a == 0:\n    a = 1
        E111:   a = 1
        E114:   # a = 1
        
        Okay: for item in items:\n    pass
        E112: for item in items:\npass
        E115: for item in items:\n# Hi\n    pass
        
        Okay: a = 1\nb = 2
        E113: a = 1\n    b = 2
        E116: a = 1\n    # b = 2
        Severity
        Category
        Status
        Source
        Language