Showing 4 of 4 total issues
Execution
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Execution(object):
'''
This class is used to run a shell execution.
'''
Function remote_copy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def remote_copy(remote, local_path, remote_path,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, reactor, remote,
Over-indented Open
Open
pass
- Read upRead up
- Exclude checks
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