From 0114bc0d6a837a26358e851bb87c4c5af3a7fbe0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 2 Feb 2021 17:02:02 +0100 Subject: [PATCH] flows: fix lint errors --- authentik/flows/management/commands/benchmark.py | 2 +- authentik/flows/views.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: