diff --git a/authentik/flows/management/commands/benchmark.py b/authentik/flows/management/commands/benchmark.py index 2ece6fdc0..586c83e47 100644 --- a/authentik/flows/management/commands/benchmark.py +++ b/authentik/flows/management/commands/benchmark.py @@ -1,6 +1,6 @@ """authentik benchmark command""" from csv import DictWriter -from multiprocessing import Manager, Process, cpu_count, get_context +from multiprocessing import Manager, cpu_count, get_context from sys import stdout from time import time diff --git a/authentik/flows/views.py b/authentik/flows/views.py index d8bfa0453..55e195837 100644 --- a/authentik/flows/views.py +++ b/authentik/flows/views.py @@ -65,6 +65,7 @@ class FlowExecutorView(View): message = exc.__doc__ if exc.__doc__ else str(exc) return self.stage_invalid(error_message=message) + # pylint: disable=unused-argument def dispatch(self, request: HttpRequest, flow_slug: str) -> HttpResponse: # Early check if theres an active Plan for the current session if SESSION_KEY_PLAN in self.request.session: