summaryrefslogtreecommitdiff
path: root/.flake8
Commit message (Collapse)AuthorAgeFilesLines
* Fix flake8 errorsAnderson Bravalheri2022-03-301-0/+1
|
* Merge pull request #2508 from webknjaz/maintenance/flake8-exclude-.toxJason R. Coombs2021-01-161-1/+3
|\ | | | | Migrate to `extend-exclude` in flake8 config
| * Merge branch 'main' into maintenance/flake8-exclude-.toxJason R. Coombs2021-01-161-5/+6
| |\
| * | Exclude _distutils from flake8 also.Jason R. Coombs2021-01-161-1/+2
| | |
| * | Exclude `build/lib/` artifacts in flake8 configSviatoslav Sydorenko2020-12-261-0/+1
| | |
| * | Migrate to `extend-exclude` in flake8 configSviatoslav Sydorenko2020-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #2509 from webknjaz/maintenance/flake8-per-file-ignoresJason R. Coombs2021-01-161-2/+0
|\ \ \ | |_|/ |/| | Fix misplaced/mistyped per-file-ignores in flake8
| * | Drop unmached py*compat.py ignore rule from flake8Sviatoslav Sydorenko2020-12-261-4/+0
| | |
| * | Drop non-existing site-patch.py from flake8Sviatoslav Sydorenko2020-12-261-1/+0
| | |
| * | Fix misplaced/mistyped per-file-ignores in flake8Sviatoslav Sydorenko2020-12-261-2/+5
| |/ | | | | | | Ref: https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-per-file-ignores
* | Merge https://github.com/jaraco/skeletonJason R. Coombs2021-01-161-3/+5
|\ \
| * | Use `extend-ignore` in flake8 config (#33)Sviatoslav Sydorenko2021-01-081-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use `extend-ignore` in flake8 config This option allows to add extra ignored rules to the default list instead of replacing it. The default exclusions are: E121, E123, E126, E226, E24, E704, W503 and W504. Fixes #28. Refs: * https://github.com/pypa/setuptools/pull/2486/files#r541943356 * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-ignore * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore * Enable complexity limit. Fixes jaraco/skeleton#34. * Replace pep517.build with build (#37) * Replace pep517.build with build Resolves #30 * Prefer simple usage Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> * Use license_files instead of license_file in meta (#35) Singular `license_file` is deprecated since wheel v0.32.0. Refs: * https://wheel.readthedocs.io/en/stable/news.html * https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
| * | Enable complexity limit. Fixes jaraco/skeleton#34.Jason R. Coombs2021-01-081-0/+4
| | |
* | | Merge pull request #2510 from webknjaz/maintenance/flake8-extend-ignoreJason R. Coombs2021-01-161-5/+1
|\ \ \ | | | | | | | | Use `extend-ignore` in flake8 config
| * | | Use `extend-ignore` in flake8 configSviatoslav Sydorenko2020-12-261-5/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option allows adding extra ignored rules to the default list instead of replacing it. The default exclusions are: E121, E123, E126, E226, E24, E704, W503 and W504. Refs: * https://github.com/pypa/setuptools/pull/2486/files#r541943356 * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-ignore * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore * #2501 * https://github.com//skeleton/issues/28
* | | Enable McCabe complexity check in flake8Sviatoslav Sydorenko2020-12-311-0/+3
|/ /
* | Merge https://github.com/jaraco/skeleton into feature/skeletonJason R. Coombs2020-12-121-10/+12
|\ \ | |/
| * Collapse skeleton history from archive/2020-12Jason R. Coombs2020-12-081-0/+9
|
* Run flake8 tests as part of test suite.Jason R. Coombs2020-01-191-0/+12