import enum
-from typing import Any, Optional
+from typing import Any
CERT_NONE = 0
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-"""DNS Names.
-"""
+"""DNS Names."""
import copy
import encodings.idna # type: ignore
-import os
import sys
import dns._features
-import dns.name
if sys.platform == "win32":
import ctypes
import ctypes.wintypes as wintypes
import winreg # pylint: disable=import-error
from enum import IntEnum
- from typing import Any
import dns.name
"B011",
"UP006",
"UP035",
+ # these three are about post-3.9 type syntax and should be revisited after 2.8
+ "UP045",
+ "UP007",
+ "UP038",
]
lint.exclude = ["tests/*"]