Commit c0c9cfde authored by Sviatoslav Sydorenko's avatar Sviatoslav Sydorenko

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
parent 2878bad0
[flake8] [flake8]
max-line-length = 88 max-line-length = 88
exclude = extend-exclude =
setuptools/_vendor setuptools/_vendor
pkg_resources/_vendor pkg_resources/_vendor
ignore = ignore =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment