aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/users/models.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-07-03 12:00:43 -0500
committerFrederick Muriuki Muriithi2025-07-03 12:00:43 -0500
commit286b87c4d7f09dffbae0145ccc9f0d55cebe1adb (patch)
treedaee34789949e631875c44dceb8cae3b34a82d38 /gn_auth/auth/authorisation/users/models.py
parentdaabd4bda2f866bf267d117714ad3b03ced896c8 (diff)
downloadgn-auth-286b87c4d7f09dffbae0145ccc9f0d55cebe1adb.tar.gz
Fix some linting issues.
Diffstat (limited to 'gn_auth/auth/authorisation/users/models.py')
-rw-r--r--gn_auth/auth/authorisation/users/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/users/models.py b/gn_auth/auth/authorisation/users/models.py
index 58ebd7a..956f239 100644
--- a/gn_auth/auth/authorisation/users/models.py
+++ b/gn_auth/auth/authorisation/users/models.py
@@ -37,7 +37,7 @@ def __process_age_clause__(age_desc: str) -> tuple[str, int]:
case "exactly":
return "created = :created", _param
case _:
- raise Exception("Invalid age descriptor.")
+ raise Exception("Invalid age descriptor.")# pylint: disable=[broad-exception-raised]
def __list_user_clauses_and_params__(**kwargs) -> tuple[str, dict[str, Union[int, str]]]: