forked from globus/globus-compute
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove flake8 ignores for various rules: only ignore the rules which must be ignored to be black-compatible. Remove exclusions from pre-commit config.
- Loading branch information
Showing
68 changed files
with
3,558 additions
and
2,395 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,4 @@ | ||
[flake8] | ||
# TODO: remove all of these ignores other than W503,W504,B008 | ||
# `black` will handle enforcement of styling, and we will have no opinionated | ||
# ignore rules | ||
# any cases in which we actually need to ignore a rule (e.g. E402) we will mark | ||
# the relevant segment with noqa comments as necessary | ||
# | ||
# D203: 1 blank line required before class docstring | ||
# E124: closing bracket does not match visual indentation | ||
# E126: continuation line over-indented for hanging indent | ||
# This one is bad. Sometimes ordering matters, conditional imports | ||
# setting env vars necessary etc. | ||
# E402: module level import not at top of file | ||
# E129: Visual indent to not match indent as next line, counter eg here: | ||
# https://github.com/PyCQA/pycodestyle/issues/386 | ||
# | ||
# E203,W503,W504: conflict with black formatting sometimes | ||
# B008: a flake8-bugbear rule which fails on idiomatic typer usage (consider | ||
# re-enabling this once everything else is fixed and updating usage) | ||
ignore = D203, E124, E126, E402, E129, W605, W503, W504, E203, F401, B008 | ||
[flake8] # black-compatible | ||
ignore = W503, W504, E203, B008 | ||
# TODO: reduce this to 88 once `black` is applied to all code | ||
max-line-length = 160 | ||
exclude = parsl/executors/serialize/, test_import_fail.py | ||
# F632 is comparing constant literals with == instead of "is" | ||
per-file-ignores = funcx_sdk/funcx/sdk/client.py:F632, | ||
funcx_endpoint/funcx/endpoint/auth.py:F821, | ||
funcx_endpoint/funcx/serialize/base.py:F821 | ||
max-line-length = 88 |
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
Oops, something went wrong.