Bump hacking

hacking 3.0.x is too old.

Change-Id: I665eb5f8aa70863ac5750d2162ddc7a053444b56
This commit is contained in:
Takashi Kajinami 2024-01-25 11:58:16 +09:00
parent 701b09642e
commit e159cfd424
3 changed files with 3 additions and 7 deletions

View File

@ -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$'

View File

@ -138,7 +138,7 @@ def raise_with_cause(exc_cls, message, *args, **kwargs):
finally:
# Leave no references around (especially with regards to
# tracebacks and any variables that it retains internally).
del(exc_type, exc, exc_tb)
del (exc_type, exc, exc_tb)
raise exc_cls(message, *args, **kwargs) from kwargs.get('cause')

View File

@ -1,8 +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
eventlet>=0.18.2,!=0.18.3,!=0.20.1,!=0.21.0,!=0.23.0 # MIT
fixtures>=3.0.0 # Apache-2.0/BSD