Skip to content

Appease ruff v0.16 - #40

Merged
godlygeek merged 1 commit into
bloomberg:mainfrom
godlygeek:appease_ruff_v0.16
Aug 7, 2026
Merged

Appease ruff v0.16#40
godlygeek merged 1 commit into
bloomberg:mainfrom
godlygeek:appease_ruff_v0.16

Conversation

@godlygeek

Copy link
Copy Markdown
Contributor
  • It wants us to add from __future__ import annotations to every module. Ignore that rule.
  • It wants us to import multiple names on the same line. Disable that.
  • Remove an unnecessary use of global.
  • Raise a subclass of Exception instead of Exception itself.
  • Explicitly document that we're not checking the return code from our subprocess.run call.

- It wants us to add `from __future__ import annotations` to every
  module. Ignore that rule.
- It wants us to import multiple names on the same line. Disable that.
- Remove an unnecessary use of `global`.
- Raise a subclass of `Exception` instead of `Exception` itself.
- Explicitly document that we're not checking the return code from our
  `subprocess.run` call.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
@godlygeek
godlygeek merged commit de3e38b into bloomberg:main Aug 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants