File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44import subprocess
55from textwrap import dedent
66
7- from pathlib import Path
7+ from path import Path
88
99
1010def remove_all (paths ):
@@ -117,7 +117,7 @@ def rewrite_wheel(pkg_files: Path):
117117
118118 # Rewrite vendored imports to use setuptools's own vendored libraries
119119 for path in pkg_files .iterdir ():
120- if path .suffix == '.py' :
120+ if path .suffix == '.py' : # type: ignore[attr-defined]
121121 code = path .read_text ()
122122 if path .name == 'wheelfile.py' :
123123 code = re .sub (
@@ -155,7 +155,7 @@ class WheelError(Exception):
155155 flags = re .MULTILINE ,
156156 )
157157
158- path .write_text (code )
158+ path .write_text (code ) # type: ignore[attr-defined]
159159
160160
161161def rewrite_platformdirs (pkg_files : Path ):
You can’t perform that action at this time.
0 commit comments