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 @@ -73,7 +73,7 @@ def patch_all() -> None:
7373 import setuptools
7474
7575 # we can't patch distutils.cmd, alas
76- distutils .core .Command = setuptools .Command # type: ignore[misc, assignment]
76+ distutils .core .Command = setuptools .Command # type: ignore[misc, assignment] # monkeypatching
7777
7878 _patch_distribution_metadata ()
7979
@@ -82,8 +82,8 @@ def patch_all() -> None:
8282 module .Distribution = setuptools .dist .Distribution
8383
8484 # Install the patched Extension
85- distutils .core .Extension = setuptools .extension .Extension # type: ignore[misc]
86- distutils .extension .Extension = setuptools .extension .Extension # type: ignore[misc]
85+ distutils .core .Extension = setuptools .extension .Extension # type: ignore[misc] # monkeypatching
86+ distutils .extension .Extension = setuptools .extension .Extension # type: ignore[misc] # monkeypatching
8787 if 'distutils.command.build_ext' in sys .modules :
8888 sys .modules [
8989 'distutils.command.build_ext'
You can’t perform that action at this time.
0 commit comments