pylint: Remove unneeded suppression
This commit is contained in:
parent
1aaf621409
commit
7e770765a9
|
|
@ -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): # pylint: disable=no-member
|
||||
if os.path.isreserved(path):
|
||||
return None
|
||||
else:
|
||||
if pathlib.Path(path).is_reserved(): # pylint: disable=else-if-used
|
||||
|
|
|
|||
Loading…
Reference in New Issue