Bump hacking
hacking 3.0.x is too old. Change-Id: Id9565ec8a49d6482b6de1527d6ab190eb9594372
This commit is contained in:
parent
7141083732
commit
106ad5f374
@ -32,7 +32,7 @@ repos:
|
||||
- id: flake8
|
||||
name: flake8
|
||||
additional_dependencies:
|
||||
- hacking>=3.0.1,<3.1.0
|
||||
- hacking>=6.1.0,<6.2.0
|
||||
language: python
|
||||
entry: flake8
|
||||
files: '^.*\.py$'
|
||||
|
@ -197,7 +197,7 @@ class MessageTestCase(test_base.BaseTestCase):
|
||||
results.append(_message.Message(msgid) % param)
|
||||
|
||||
for message, result in zip(messages, results):
|
||||
self.assertEqual(type(result), _message.Message)
|
||||
self.assertIsInstance(result, _message.Message)
|
||||
self.assertEqual(message, result.translation())
|
||||
|
||||
# simulate writing out as string
|
||||
|
@ -1,5 +1 @@
|
||||
# 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.
|
||||
|
||||
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
|
@ -1,7 +1,4 @@
|
||||
# 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>=3.0.1,<3.1.0 # Apache-2.0
|
||||
hacking>=6.1.0,<6.2.0 # Apache-2.0
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user