Skip to content

Commit 4ac24fc

Browse files
committed
Configure flake8's line length as 100
This allows users to run `flake8 zarr` and pick up the desired configuration by default.
1 parent e1a58a8 commit 4ac24fc

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
@@ -29,7 +29,7 @@ commands =
2929
# run doctests in the tutorial and spec
3030
py37: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
3131
# pep8 checks
32-
py37: flake8 --max-line-length=100 zarr
32+
py37: flake8 zarr
3333
# print environment for debugging
3434
pip freeze
3535
deps =
@@ -49,3 +49,6 @@ deps =
4949
-rrequirements_rtfd.txt
5050
commands =
5151
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
52+
53+
[flake8]
54+
max-line-length = 100

0 commit comments

Comments
 (0)