Skip to content

Commit 77fbe1d

Browse files
webknjazjaraco
andauthored
Use extend-ignore in flake8 config (python#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 python#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 (python#37) * Replace pep517.build with build Resolves python#30 * Prefer simple usage Co-authored-by: Jason R. Coombs <[email protected]> * Use license_files instead of license_file in meta (python#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 <[email protected]>
1 parent a9b3f68 commit 77fbe1d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.flake8

+1-5
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)