From c9075551a8673a01367dc3118a16381b306ffe1e Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 4 Dec 2023 10:20:41 +0100 Subject: [PATCH] lint Signed-off-by: Marc 'risson' Schmitt --- authentik/blueprints/management/commands/export_blueprint.py | 2 ++ authentik/crypto/management/commands/import_certificate.py | 2 ++ authentik/providers/scim/management/commands/scim_sync.py | 2 ++ authentik/recovery/management/commands/create_admin_group.py | 2 ++ authentik/recovery/management/commands/create_recovery_key.py | 2 ++ .../sources/ldap/management/commands/ldap_check_connection.py | 2 ++ authentik/sources/ldap/management/commands/ldap_sync.py | 2 ++ authentik/stages/email/management/commands/test_email.py | 2 ++ 8 files changed, 16 insertions(+) diff --git a/authentik/blueprints/management/commands/export_blueprint.py b/authentik/blueprints/management/commands/export_blueprint.py index b8194d0c5..f74f1875a 100644 --- a/authentik/blueprints/management/commands/export_blueprint.py +++ b/authentik/blueprints/management/commands/export_blueprint.py @@ -19,4 +19,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Export blueprint of current authentik install""" + COMMAND = TCommand diff --git a/authentik/crypto/management/commands/import_certificate.py b/authentik/crypto/management/commands/import_certificate.py index 003acfac3..be668e8c2 100644 --- a/authentik/crypto/management/commands/import_certificate.py +++ b/authentik/crypto/management/commands/import_certificate.py @@ -53,4 +53,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Import certificate""" + COMMAND = TCommand diff --git a/authentik/providers/scim/management/commands/scim_sync.py b/authentik/providers/scim/management/commands/scim_sync.py index 103a02887..24d10024e 100644 --- a/authentik/providers/scim/management/commands/scim_sync.py +++ b/authentik/providers/scim/management/commands/scim_sync.py @@ -25,4 +25,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Run sync for an SCIM Provider""" + COMMAND = TCommand diff --git a/authentik/recovery/management/commands/create_admin_group.py b/authentik/recovery/management/commands/create_admin_group.py index c0e9017b5..26c5ab5be 100644 --- a/authentik/recovery/management/commands/create_admin_group.py +++ b/authentik/recovery/management/commands/create_admin_group.py @@ -32,4 +32,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Create admin group if the default group gets deleted""" + COMMAND = TCommand diff --git a/authentik/recovery/management/commands/create_recovery_key.py b/authentik/recovery/management/commands/create_recovery_key.py index 9bd866bd4..86dec8040 100644 --- a/authentik/recovery/management/commands/create_recovery_key.py +++ b/authentik/recovery/management/commands/create_recovery_key.py @@ -54,4 +54,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Create Token used to recover access""" + COMMAND = TCommand diff --git a/authentik/sources/ldap/management/commands/ldap_check_connection.py b/authentik/sources/ldap/management/commands/ldap_check_connection.py index 3b13aa300..2f99bd2f8 100644 --- a/authentik/sources/ldap/management/commands/ldap_check_connection.py +++ b/authentik/sources/ldap/management/commands/ldap_check_connection.py @@ -26,4 +26,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Check connectivity to LDAP servers for a source""" + COMMAND = TCommand diff --git a/authentik/sources/ldap/management/commands/ldap_sync.py b/authentik/sources/ldap/management/commands/ldap_sync.py index 05fc89798..67b1ff3ba 100644 --- a/authentik/sources/ldap/management/commands/ldap_sync.py +++ b/authentik/sources/ldap/management/commands/ldap_sync.py @@ -34,4 +34,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Run sync for an LDAP Source""" + COMMAND = TCommand diff --git a/authentik/stages/email/management/commands/test_email.py b/authentik/stages/email/management/commands/test_email.py index e4934bc1d..c26d0526b 100644 --- a/authentik/stages/email/management/commands/test_email.py +++ b/authentik/stages/email/management/commands/test_email.py @@ -45,4 +45,6 @@ class TCommand(BaseCommand): class Command(TenantWrappedCommand): + """Send a test-email with global settings""" + COMMAND = TCommand