Fix issues with pylint 4.0.

This commit is contained in:
Felix Fontein
2025-10-13 22:09:31 +02:00
parent 16b5bfa27b
commit 6f9ebc3f14
6 changed files with 31 additions and 29 deletions
@@ -17,7 +17,6 @@ import time
import traceback
PYWIN32_IMPORT_ERROR = None
try:
import pywintypes
import win32api
@@ -25,7 +24,9 @@ try:
import win32file
import win32pipe
except ImportError:
PYWIN32_IMPORT_ERROR = traceback.format_exc()
PYWIN32_IMPORT_ERROR = traceback.format_exc() # pylint: disable=invalid-name
else:
PYWIN32_IMPORT_ERROR = None # pylint: disable=invalid-name
ERROR_PIPE_BUSY = 0xE7