Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 77fbe1d

Browse files
webknjazjaraco
andauthored
Use extend-ignore in flake8 config (#33)
* 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>
1 parent a9b3f68 commit 77fbe1d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.flake8

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ max-line-length = 88
44
# jaraco/skeleton#34
55
max-complexity = 10
66

7-
ignore =
8-
# W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
9-
W503
10-
# W504 has issues https://github.com/OCA/maintainer-quality-tools/issues/545
11-
W504
7+
extend-ignore =
128
# Black creates whitespace before colon
139
E203

0 commit comments

Comments
 (0)