Set safe version of hacking
Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.
Change-Id: Idb66f2ae0105308747cdf3046b09a22bdf691ea3
diff --git a/test-requirements.txt b/test-requirements.txt
index 138ad35..d5ab6d0 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -2,8 +2,10 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking>=3.0.1,<3.1.0 # Apache-2.0
+hacking>=3.1.0,<4.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
flake8-import-order>=0.17.1 # LGPLv3
+pycodestyle>=2.0.0,<2.7.0 # MIT
+