Cleanup: suppress various pylint warnings

This commit is contained in:
Campbell Barton
2025-01-04 21:17:29 +11:00
parent 444f1064c9
commit 5f640457d8
7 changed files with 21 additions and 26 deletions

View File

@@ -10,11 +10,6 @@ __all__ = (
import os
from collections.abc import (
Callable,
Iterator,
)
PATHS: tuple[str, ...] = (
"build_files",
"doc",

View File

@@ -57,6 +57,7 @@ class _GetchWindows:
def __init__(self):
import msvcrt
del msvcrt
def __call__(self):
import msvcrt

View File

@@ -78,10 +78,9 @@ class _GetchUnix:
def __init__(self):
import tty
import sys
del tty
def __call__(self):
import sys
import tty
import termios
fd = sys.stdin.fileno()
@@ -98,6 +97,7 @@ class _GetchWindows:
def __init__(self):
import msvcrt
del msvcrt
def __call__(self):
import msvcrt