-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now flake8 clean, with many style rules disabled
and a few minimal style fixes and a few noqa comments
- Loading branch information
Showing
17 changed files
with
70 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,50 @@ | ||
[flake8] | ||
exclude = tests/support,tests/Python26SocketServer.py,sites,fabric/api.py | ||
max-line-length = 164 | ||
ignore = | ||
# continuation line under-indented for hanging indent | ||
E121, | ||
# continuation line missing indentation or outdented | ||
E122, | ||
# closing bracket does not match indentation of opening bracket's line | ||
E123 | ||
# closing bracket does not match visual indentation | ||
E124, | ||
# continuation line with same indent as next logical line | ||
E125, | ||
# continuation line over-indented for hanging indent | ||
E126, | ||
# continuation line over-indented for visual indent | ||
E127, | ||
# continuation line under-indented for visual indent | ||
E128, | ||
# multiple spaces before operator | ||
E221, | ||
# missing whitespace after ':' | ||
E231, | ||
# at least two spaces before inline comment | ||
E261, | ||
# block comment should start with '# ' | ||
E265, | ||
# too many leading '#' for block comment | ||
E266, | ||
# expected 2 blank lines, found 1 | ||
E302, | ||
# too many blank lines | ||
E303, | ||
# expected 1 blank line before a nested definition, found 0 | ||
E306, | ||
# expected 2 blank lines after class or function definition, found 1 | ||
E305, | ||
# the backslash is redundant between brackets | ||
E502, | ||
# line break before binary operator | ||
W503, | ||
# multiple statements on one line | ||
E704, | ||
# do not assign a lambda expression, use a def | ||
E731, | ||
|
||
|
||
[metadata] | ||
license_file = LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,5 +81,3 @@ def inner_wrapper(*args, **kwargs): | |
del sys.stdall | ||
return inner_wrapper | ||
return mocked_streams_decorator | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -615,5 +615,5 @@ def mytask(arg1): | |
Arguments: arg1 | ||
""" | ||
""" # noqa: W293 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters