style: format code using black v23

This commit is contained in:
jo 2023-03-28 19:34:19 +02:00
commit 22c255700e
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
46 changed files with 8 additions and 67 deletions

View file

@ -46,7 +46,7 @@ def custom_preprocessing_hook(endpoints):
# your modifications to the list of operations that are exposed in the schema
api_type = os.environ.get("API_TYPE", "v1")
for (path, path_regex, method, callback) in endpoints:
for path, path_regex, method, callback in endpoints:
if path.startswith("/api/v1/providers"):
continue

View file

@ -736,7 +736,6 @@ See :doc:`/administrator_documentation/configuration_docs/ldap` for more informa
"""
if AUTH_LDAP_ENABLED:
# Import the LDAP modules here.
# This way, we don't need the dependency unless someone
# actually enables the LDAP support