From f5cef98b0ab8ac922ea8af194b7095cb4493c0e9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 27 Jan 2024 22:24:11 +0900 Subject: [PATCH] Bump hacking hacking 3.0.x is too old. Change-Id: I274b6ef21061336a11070ccf5edfe11c990cbc28 --- aodhclient/exceptions.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aodhclient/exceptions.py b/aodhclient/exceptions.py index 5a12640..cf96c67 100644 --- a/aodhclient/exceptions.py +++ b/aodhclient/exceptions.py @@ -142,7 +142,7 @@ _code_map = dict( def from_response(response, url, method=None): - """Return an instance of one of the ClientException on an requests response. + """Return an instance of ClientException on an requests response. Usage:: diff --git a/tox.ini b/tox.ini index c9573d6..c2095c2 100644 --- a/tox.ini +++ b/tox.ini @@ -30,7 +30,7 @@ deps = commands = pifpaf run aodh -- stestr run --slowest {posargs} [testenv:pep8] -deps = hacking<3.1.0,>=3.0 +deps = hacking>=6.1.0,<6.2.0 commands = flake8 [testenv:venv]