Skip to content

Commit b9be144

Browse files
committed
Attempt to solve typechecking problems
1 parent 1678730 commit b9be144

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setuptools/_shutil.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
from distutils import log
1010

1111
try:
12-
from os import chmod
12+
from os import chmod # pyright: ignore[reportAssignmentType]
13+
# Losing type-safety w/ pyright, but that's ok
1314
except ImportError:
1415
# Jython compatibility
1516
def chmod(*args: object, **kwargs: object) -> None: # type: ignore[misc] # Mypy reuses the imported definition anyway

0 commit comments

Comments
 (0)