summaryrefslogtreecommitdiff
path: root/searx/answerers
diff options
context:
space:
mode:
Diffstat (limited to 'searx/answerers')
-rw-r--r--searx/answerers/__init__.py1
-rw-r--r--searx/answerers/_core.py1
-rw-r--r--searx/answerers/random.py1
-rw-r--r--searx/answerers/statistics.py2
4 files changed, 1 insertions, 4 deletions
diff --git a/searx/answerers/__init__.py b/searx/answerers/__init__.py
index 1ed85ccc2..7c8c8003f 100644
--- a/searx/answerers/__init__.py
+++ b/searx/answerers/__init__.py
@@ -38,7 +38,6 @@ area:
"""
-from __future__ import annotations
__all__ = ["AnswererInfo", "Answerer", "AnswerStorage"]
diff --git a/searx/answerers/_core.py b/searx/answerers/_core.py
index 6c1c2073b..c102be125 100644
--- a/searx/answerers/_core.py
+++ b/searx/answerers/_core.py
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# pylint: disable=too-few-public-methods, missing-module-docstring
-from __future__ import annotations
import abc
import importlib
diff --git a/searx/answerers/random.py b/searx/answerers/random.py
index 495a077ed..44b94a0e2 100644
--- a/searx/answerers/random.py
+++ b/searx/answerers/random.py
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# pylint: disable=missing-module-docstring
-from __future__ import annotations
import hashlib
import random
diff --git a/searx/answerers/statistics.py b/searx/answerers/statistics.py
index abdd1dbf5..40a4c8024 100644
--- a/searx/answerers/statistics.py
+++ b/searx/answerers/statistics.py
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# pylint: disable=missing-module-docstring
-from __future__ import annotations
+
from functools import reduce
from operator import mul