From 94ac6eb17041de8748559fd8f56603fa6d9f4401 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Fri, 9 Nov 2018 19:22:00 -0500 Subject: [PATCH] Configure flake8's line length as 100 This allows users to run `flake8 numcodecs` and pick up the desired configuration by default. --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 87634d22..73c9b364 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ commands = py27,py35,py36: pytest -v --cov=numcodecs numcodecs py37: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs coverage report -m - py37: flake8 --max-line-length=100 numcodecs + py37: flake8 numcodecs pip freeze deps = py27: backports.lzma @@ -31,3 +31,6 @@ deps = -rrequirements_rtfd.txt commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html + +[flake8] +max-line-length = 100