Skip to content

Commit

Permalink
Disable TRY400 so it doesn't cause problems in other branches. Disabl…
Browse files Browse the repository at this point in the history
…e RUF100 to prevent it from failing in this branch. Ref pypa/distutils#292
  • Loading branch information
jaraco committed Sep 2, 2024
1 parent 6864167 commit 971074d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/_msvccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _get_vc_env(plat_spec):
stderr=subprocess.STDOUT,
).decode('utf-16le', errors='replace')
except subprocess.CalledProcessError as exc:
log.error(exc.output)
log.error(exc.output) # noqa: RUF100, TRY400
raise DistutilsPlatformError(f"Error executing {exc.cmd}")

env = {
Expand Down

0 comments on commit 971074d

Please sign in to comment.