diff --git a/authentik/core/expression/evaluator.py b/authentik/core/expression/evaluator.py index 85586c840..53a147edd 100644 --- a/authentik/core/expression/evaluator.py +++ b/authentik/core/expression/evaluator.py @@ -1,5 +1,4 @@ """Property Mapping Evaluator""" -from traceback import format_tb from typing import Optional from django.db.models import Model diff --git a/authentik/stages/email/tests/test_templates.py b/authentik/stages/email/tests/test_templates.py index 0e7d6d70a..2bd4d0c5e 100644 --- a/authentik/stages/email/tests/test_templates.py +++ b/authentik/stages/email/tests/test_templates.py @@ -2,7 +2,7 @@ from os import chmod, unlink from pathlib import Path from shutil import rmtree -from tempfile import gettempdir, mkdtemp, mkstemp +from tempfile import mkdtemp, mkstemp from typing import Any from django.conf import settings