From 70e516a9e450145f73ffc857585b70a2ec38bcb2 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 20 Jan 2024 18:56:19 +0900 Subject: [PATCH] Bump hacking hacking 3.0.x is too old. Also fix a failure detected by the new hacking version. ./heat_tempest_plugin/common/test.py:171:80: E501 line too long (80 > 79 characters) Change-Id: Ic05437780b451928b14f79b004586e0b627ce119 --- heat_tempest_plugin/common/test.py | 2 +- test-requirements.txt | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/heat_tempest_plugin/common/test.py b/heat_tempest_plugin/common/test.py index 475d416..c56ab40 100644 --- a/heat_tempest_plugin/common/test.py +++ b/heat_tempest_plugin/common/test.py @@ -168,7 +168,7 @@ def requires_feature(feature): def requires_service_feature(service, feature): - '''Decorator for tests requring specific service feature enabled in tempest. + '''Decorator for tests requring specific service feature The decorated test will be skipped when a specific feature is disabled. ''' diff --git a/test-requirements.txt b/test-requirements.txt index ffa8f45..68f7957 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,7 +1,3 @@ # Hacking already pins down pep8, pyflakes and flake8 -hacking>=2.0,<2.1.0 # Apache-2.0 -# remove this pyflakes from here once you bump the -# hacking to 3.2.0 or above. hacking 3.2.0 takes -# care of pyflakes version compatibilty. -pyflakes>=2.1.1 +hacking>=6.1.0,<6.2.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0