diff options
author | Munyoki Kilyungi | 2024-03-19 17:39:36 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-03-21 10:04:31 +0300 |
commit | f7c41fa2f24d96c3024930b1bb603f566f402644 (patch) | |
tree | c0427ac5d5d2c5273c43d6dda7f6c56164a45857 | |
parent | 43a2155af1a017a85e924406492b67cb98613eb7 (diff) | |
download | gn-auth-f7c41fa2f24d96c3024930b1bb603f566f402644.tar.gz |
Rename klass to class_.
As recommended by:
<https://barry.warsaw.us/software/STYLEGUIDE.txt>
which is a reference for pep-8.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn_auth/errors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn_auth/errors.py b/gn_auth/errors.py index fdd2f3e..7e90659 100644 --- a/gn_auth/errors.py +++ b/gn_auth/errors.py @@ -39,5 +39,5 @@ __error_handlers__ = { } def register_error_handlers(app: Flask): """Register ALL defined error handlers""" - for klass, error_handler in __error_handlers__.items(): - app.register_error_handler(klass, error_handler) + for class_, error_handler in __error_handlers__.items(): + app.register_error_handler(class_, error_handler) |