Skip to content

Commit b4724a3

Browse files
committed
flake8: Accept line up to 120 chars, exclude ninja/ninja_syntax.py
Since "ninja/ninja_syntax.py" is provided by ninja project and can be installed in the source tree when installing an editable distribution, this commit makes sure it is excluded.
1 parent 7d32fce commit b4724a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
test = pytest
33

44
[flake8]
5-
max-line-length: 80
5+
max-line-length: 120
66
# Whether to display the pep8 instructions on failure (can be quite verbose)
77
show-pep8: False
88
# Whether to show source code for each failure
99
show-source: True
1010
# Maximum cyclomatic complexity allowed
1111
max-complexity: 14
1212
format: pylint
13-
exclude: .git,.idea,.eggs,__pycache__,.tox,_skbuild,src,versioneer.py
13+
exclude: .git,.idea,.eggs,__pycache__,.tox,_skbuild,src,versioneer.py,ninja/ninja_syntax.py
1414

1515
[tool:pytest]
1616
testpaths = tests

0 commit comments

Comments
 (0)