Skip to content

Commit 8832666

Browse files
committedApr 5, 2024
docs: add a note to remember why flake8 configuration is repeated
1 parent 0922e73 commit 8832666

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎.flake8

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Note: configuration is repeated in the package directories because flake8
2+
# will find the setup.cfg there and will not use this file.
3+
# We also need a copy here because running flake8 from the root dir will
4+
# use no configuration file otherwise. So, apologise for the repetitions.
5+
16
[flake8]
27
max-line-length = 88
38
ignore = W503, E203, E704

0 commit comments

Comments
 (0)
Please sign in to comment.