diff options
| author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-12-21 20:32:49 +0100 |
|---|---|---|
| committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-12-26 21:53:23 +0100 |
| commit | c0c9cfde2eb7ad0573bf68ddb34944833aeb1d3c (patch) | |
| tree | abbd805089cfc0d6945100972e025c13adeeed7a | |
| parent | 2878bad0df158243d1e6601110ec12868e201d81 (diff) | |
| download | python-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-- | .flake8 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ [flake8] max-line-length = 88 -exclude = +extend-exclude = setuptools/_vendor pkg_resources/_vendor ignore = |
