From d8b3f58c0c2d6dc5965b16fdc961f893e110ab67 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 27 Jan 2024 22:22:47 +0900 Subject: [PATCH] Bump hacking hacking 3.0.x is too old. Change-Id: I2bbe8b45596f4530284e1ba5946fc3fa238649a7 --- aodh/api/rbac.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aodh/api/rbac.py b/aodh/api/rbac.py index cee58cb32..a3fed5a42 100644 --- a/aodh/api/rbac.py +++ b/aodh/api/rbac.py @@ -21,7 +21,7 @@ import pecan def target_from_segregation_rule(headers, enforcer): - """Return a target that corresponds of an alarm returned by segregation rule + """Return a target corresponding to an alarm returned by segregation rule This allows to use project_id: in an oslo_policy rule for query/listing. diff --git a/tox.ini b/tox.ini index 025ce5b95..e65f0cc41 100644 --- a/tox.ini +++ b/tox.ini @@ -50,7 +50,7 @@ commands = coverage report [testenv:pep8] -deps = hacking>=3.0,<3.1.0 +deps = hacking>=6.1.0,<6.2.0 commands = flake8