root: add ruff linter (#5240)
* root: add ruff linter Signed-off-by: Jens Langhammer <jens@goauthentik.io> * actually add ruff Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix lint Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -155,6 +155,6 @@ if not CONFIG.y_bool("disable_startup_analytics", False):
|
||||
},
|
||||
timeout=5,
|
||||
)
|
||||
# pylint: disable=bare-except
|
||||
except: # nosec
|
||||
# pylint: disable=broad-exception-caught
|
||||
except Exception: # nosec
|
||||
pass
|
||||
|
Reference in New Issue
Block a user