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 4
4
import subprocess
5
5
from textwrap import dedent
6
6
7
- from pathlib import Path
7
+ from path import Path
8
8
9
9
10
10
def remove_all (paths ):
@@ -117,7 +117,7 @@ def rewrite_wheel(pkg_files: Path):
117
117
118
118
# Rewrite vendored imports to use setuptools's own vendored libraries
119
119
for path in pkg_files .iterdir ():
120
- if path .suffix == '.py' :
120
+ if path .suffix == '.py' : # type: ignore[attr-defined]
121
121
code = path .read_text ()
122
122
if path .name == 'wheelfile.py' :
123
123
code = re .sub (
@@ -155,7 +155,7 @@ class WheelError(Exception):
155
155
flags = re .MULTILINE ,
156
156
)
157
157
158
- path .write_text (code )
158
+ path .write_text (code ) # type: ignore[attr-defined]
159
159
160
160
161
161
def rewrite_platformdirs (pkg_files : Path ):
You can’t perform that action at this time.
0 commit comments