From bdeb19d07903d618a6c3d5c98f423a9c736f8785 Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Fri, 28 Dec 2018 22:48:06 +0800 Subject: [PATCH] Update hacking version Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I2e0c41656384ddef603717224e9e146bc31be59b --- oslo_config/tests/test_generator.py | 4 ++-- test-requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oslo_config/tests/test_generator.py b/oslo_config/tests/test_generator.py index 766cfa9f..f28e5eaa 100644 --- a/oslo_config/tests/test_generator.py +++ b/oslo_config/tests/test_generator.py @@ -118,8 +118,8 @@ class GeneratorTestCase(base.BaseTestCase): 'opt_with_DeprecatedOpt': cfg.BoolOpt( 'foo-bar', help='Opt with DeprecatedOpt', - deprecated_opts = [cfg.DeprecatedOpt('foo-bar', - group='deprecated')]), + deprecated_opts=[cfg.DeprecatedOpt('foo-bar', + group='deprecated')]), # Unknown Opt default must be a string 'unknown_type': cfg.Opt('unknown_opt', default='123', diff --git a/test-requirements.txt b/test-requirements.txt index feacdb2d..cb81ef2e 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.1.0,<1.2.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD testrepository>=0.0.18 # Apache-2.0/BSD