Revert "pylint: Remove unneeded suppression"

This reverts commit 7e770765a9.
This commit is contained in:
Florian Bruhin 2025-09-17 18:08:06 +02:00
parent 7e770765a9
commit 18bea32975
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ def transform_path(path):
# Paths like COM1, ...
# See https://github.com/qutebrowser/qutebrowser/issues/82
if sys.version_info[:2] >= (3, 13):
if os.path.isreserved(path):
if os.path.isreserved(path): # pylint: disable=no-member
return None
else:
if pathlib.Path(path).is_reserved(): # pylint: disable=else-if-used