Skip to content

Commit c0c9cfd

Browse files
committed
Migrate to extend-exclude in flake8 config
This makes sure that flake8's defaults are in use. Specifically, it excludes `.tox/` dir that is known to contain a lot of files in nested folders that are not supposed to be linted. Refs: * pypa#2501 (comment) * https://github.com/pypa/setuptools/pull/2486/files#r546877674 * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-exclude * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-exclude
1 parent 2878bad commit c0c9cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[flake8]
22
max-line-length = 88
3-
exclude =
3+
extend-exclude =
44
setuptools/_vendor
55
pkg_resources/_vendor
66
ignore =

0 commit comments

Comments
 (0)