|
@@ -2,12 +2,16 @@
|
|
|
# File filtering is taken care of in pre-commit.
|
|
|
# E203 false positive, see https://github.com/PyCQA/pycodestyle/issues/373
|
|
|
# B011 We don't use PYTHONOPTIMIZE.
|
|
|
-ignore = F999,E203,E501,E128,E124,E402,W503,W504,E731,C901,B007,B009,B010,B011
|
|
|
|
|
|
# XXX: E501 is ignored, which disables line length checking.
|
|
|
# Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
|
|
|
# We already have a lot of E501's - these are lines black didn't wrap.
|
|
|
# But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
|
|
|
+extend-ignore = E203,E501,E402,E731,B007,B009,B010,B011
|
|
|
+
|
|
|
+per-file-ignores =
|
|
|
+ # allow prints in tests
|
|
|
+ tests/*: S002
|
|
|
|
|
|
[flake8:local-plugins]
|
|
|
paths = .
|