summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorJohn L. Villalovos <john.l.villalovos@intel.com>2017-09-07 10:10:07 -0700
committerJohn L. Villalovos <john.l.villalovos@intel.com>2017-09-07 13:21:30 -0700
commit3700e7c6d516b0a967ab2bfa2314a22233af637f (patch)
treeb97ad4d74d67b6d0439a8125a84d05c67d0acd4b /test-requirements.txt
parente9318c75748c87a318b4ff35d9385b4d09e79da6 (diff)
downloadironic-3700e7c6d516b0a967ab2bfa2314a22233af637f.tar.gz
flake8: Enable some off-by-default checks
Update test-requirements.txt to use latest versions of: * flake8-import-order * hacking Enable the following off-by-default checks: * [H204] Use assert(Not)Equal to check for equality. * [H205] Use assert(Greater|Less)(Equal) for comparison. Fix code that failed H204 and H205. In this case the fix was to add: # noqa As we want to ensure that these particular tests are calling the desired comparison operators. Change-Id: If9cba62c832e301ac81320f9142e91319f0e40a9
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 846eb0da9..073f93887 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,7 +1,7 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
+hacking>=1.0.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
doc8 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
@@ -19,7 +19,7 @@ testresources>=0.2.4 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
WebTest>=2.0 # MIT
bashate>=0.2 # Apache-2.0
-flake8-import-order==0.11 # LGPLv3
+flake8-import-order>=0.13 # LGPLv3
# Doc requirements
sphinx>=1.6.2 # BSD