Skip to content

Commit 39ac0b9

Browse files
Fix linting issue after namespace package fix (#11913)
1 parent 7c4191e commit 39ac0b9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

localstack-core/localstack/dns/server.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@
1212
from socket import AddressFamily
1313
from typing import Iterable, Literal, Tuple
1414

15-
import dns.flags
16-
import dns.message
17-
import dns.query
1815
import psutil
1916
from cachetools import TTLCache, cached
20-
from dns.exception import Timeout
2117
from dnslib import (
2218
AAAA,
2319
CNAME,
@@ -39,6 +35,11 @@
3935
from dnslib.server import DNSHandler, DNSServer
4036
from psutil._common import snicaddr
4137

38+
import dns.flags
39+
import dns.message
40+
import dns.query
41+
from dns.exception import Timeout
42+
4243
# Note: avoid adding additional imports here, to avoid import issues when running the CLI
4344
from localstack import config
4445
from localstack.constants import LOCALHOST_HOSTNAME, LOCALHOST_IP

0 commit comments

Comments
 (0)