Skip to content

Commit

Permalink
Remove flake8: noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
Pliner committed Jan 9, 2025
1 parent c2321a0 commit 56fbd92
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions aio_request/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# flake8: noqa
import collections
import re
import sys
Expand Down Expand Up @@ -142,25 +141,30 @@
"Transport",
)
try:
import aiohttp
import aiohttp # noqa

from .aiohttp import AioHttpDnsResolver, AioHttpTransport, aiohttp_middleware_factory, aiohttp_timeout

__all__ += ("AioHttpDnsResolver", "AioHttpTransport", "aiohttp_middleware_factory", "aiohttp_timeout") # type: ignore
except ImportError as e:
__all__ += (
"AioHttpDnsResolver",
"AioHttpTransport",
"aiohttp_middleware_factory",
"aiohttp_timeout",
) # type: ignore
except ImportError:
pass

try:
import httpx
import httpx # noqa

from .httpx import HttpxTransport

__all__ += ("HttpxTransport",) # type: ignore
except ImportError as e:
except ImportError:
pass

try:
import prometheus_client
import prometheus_client # noqa

# Deprecated as well as MetricsProvider, NoopMetricsProvider and NOOP_METRICS_PROVIDER.
# For backward compatibility.
Expand Down

0 comments on commit 56fbd92

Please sign in to comment.