Skip to content

Commit a79b5cc

Browse files
committed
flake8/pre-commit: ignore invalid "whitespace before ':'"
E203 error occurs due to black formatting - see psf/black#280 https://github.com/psf/black/blob/main/docs/compatible_configs/flake8/setup.cfg
1 parent a183020 commit a79b5cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: setup.cfg

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[flake8]
22
# We start with a strict setting, this is ranked as A in radon
33
max-complexity = 8
4-
ignore = E501,W503
4+
ignore =
5+
E501 # line too long
6+
W503 # line break before binary operator
7+
E203 # whitespace before ':' - known black/flake8 incompatibility
58
exclude =
69
__init__.py

0 commit comments

Comments
 (0)