summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-12-21 20:32:49 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-12-26 21:53:23 +0100
commitc0c9cfde2eb7ad0573bf68ddb34944833aeb1d3c (patch)
treeabbd805089cfc0d6945100972e025c13adeeed7a
parent2878bad0df158243d1e6601110ec12868e201d81 (diff)
downloadpython-setuptools-git-c0c9cfde2eb7ad0573bf68ddb34944833aeb1d3c.tar.gz
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: * https://github.com/pypa/setuptools/issues/2501#issuecomment-749144396 * 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
-rw-r--r--.flake82
1 files changed, 1 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index 8bc2d270..13381d6a 100644
--- a/.flake8
+++ b/.flake8
@@ -1,6 +1,6 @@
[flake8]
max-line-length = 88
-exclude =
+extend-exclude =
setuptools/_vendor
pkg_resources/_vendor
ignore =