diff --git a/test-requirements.txt b/test-requirements.txt index 43052a6..8d374e5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,5 @@ -hacking>=3.0.1,<3.1.0 # Apache-2.0 -flake8-docstrings==1.6.0 # MIT +hacking>=6.1.0,<6.2.0 # Apache-2.0 +flake8-import-order>=0.18.0,<0.19.0 # LGPLv3 coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index 84613a7..13f3d40 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,10 @@ show-source = True # D208: Docstring is over-indented # D400: First line should end with a period # D401: First line should be in imperative mood -# W503 line break before binary operator -# W504 line break after binary operator -ignore = H405,D100,D101,D102,D103,D104,D105,D107,D200,D202,D203,D204,D205,D208,D400,D401,W503,W504 +# I100: Import statements are in the wrong order. +# I201: Missing newline between import groups. +# I202: Additional newline in a group of imports. +# W503: line break before binary operator +# W504: line break after binary operator +ignore = H405,D100,D101,D102,D103,D104,D105,D107,D200,D202,D203,D204,D205,D208,D400,D401,I100,I201,I202,W503,W504 exclude = .tox,dist,doc,*.egg,build