style: format code using black v23
This commit is contained in:
parent
42879f2aec
commit
22c255700e
46 changed files with 8 additions and 67 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue