[mod] drop: from __future__ import annotations

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser
2025-08-24 15:16:46 +02:00
committed by Markus Heiser
parent 57b9673efb
commit f24d85bc4b
67 changed files with 15 additions and 68 deletions

View File

@@ -10,7 +10,6 @@ intended monkey patching of the engine modules.
engine modules aren't converted to an engine class, these builtin types will
still be needed.
"""
from __future__ import annotations
import logging
from searx.enginelib import traits as _traits

View File

@@ -8,7 +8,6 @@ usage::
"""
from __future__ import annotations
import typing as t
import sys

View File

@@ -35,7 +35,6 @@ Implementation
==============
"""
from __future__ import annotations
from datetime import datetime, timedelta
from urllib.parse import urlencode

View File

@@ -65,7 +65,6 @@ code lines are just relabeled (starting from 1) and appended (a disjoint set of
code blocks in a single file might be returned from the API).
"""
from __future__ import annotations
import typing as t
from urllib.parse import urlencode

View File

@@ -11,7 +11,6 @@
.. _data URLs:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
"""
from __future__ import annotations
from urllib.parse import urlencode, urlparse, parse_qs
from lxml import html

View File

@@ -7,7 +7,6 @@ No public instance offer a public API now
- https://github.com/searxng/searxng/issues/2722#issuecomment-2884993248
"""
from __future__ import annotations
import time
import random

View File

@@ -26,7 +26,6 @@ Implementations
===============
"""
from __future__ import annotations
import typing as t
from urllib.parse import urlencode, quote_plus

View File

@@ -37,7 +37,6 @@ Implementations
===============
"""
from __future__ import annotations
import re

View File

@@ -3,7 +3,6 @@
#
# Engine is documented in: docs/dev/engines/online/openalex.rst
from __future__ import annotations
import typing as t
from datetime import datetime

View File

@@ -45,7 +45,6 @@ Implementations
===============
"""
from __future__ import annotations
import time
import random

View File

@@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
"""SoundCloud is a German audio streaming service."""
from __future__ import annotations
import re
import datetime

View File

@@ -74,7 +74,6 @@ Implementations
===============
"""
from __future__ import annotations
from urllib.parse import urlencode
from dateutil.parser import parse

View File

@@ -3,7 +3,6 @@
Wolfram|Alpha (Science)
"""
from __future__ import annotations
from json import loads
from urllib.parse import urlencode

View File

@@ -51,7 +51,6 @@ Implementations
"""
# pylint: disable=fixme
from __future__ import annotations
import random
from json import loads