Skip to content

Commit 971074d

Browse files
committed
Disable TRY400 so it doesn't cause problems in other branches. Disable RUF100 to prevent it from failing in this branch. Ref pypa/distutils#292
1 parent 6864167 commit 971074d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/_msvccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def _get_vc_env(plat_spec):
159159
stderr=subprocess.STDOUT,
160160
).decode('utf-16le', errors='replace')
161161
except subprocess.CalledProcessError as exc:
162-
log.error(exc.output)
162+
log.error(exc.output) # noqa: RUF100, TRY400
163163
raise DistutilsPlatformError(f"Error executing {exc.cmd}")
164164

165165
env = {

0 commit comments

Comments
 (0)