Skip to content

Commit 94ac6eb

Browse files
committed
Configure flake8's line length as 100
This allows users to run `flake8 numcodecs` and pick up the desired configuration by default.
1 parent b03531c commit 94ac6eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ commands =
1717
py27,py35,py36: pytest -v --cov=numcodecs numcodecs
1818
py37: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs
1919
coverage report -m
20-
py37: flake8 --max-line-length=100 numcodecs
20+
py37: flake8 numcodecs
2121
pip freeze
2222
deps =
2323
py27: backports.lzma
@@ -31,3 +31,6 @@ deps =
3131
-rrequirements_rtfd.txt
3232
commands =
3333
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
34+
35+
[flake8]
36+
max-line-length = 100

0 commit comments

Comments
 (0)