Skip to content

Conversation

@bearomorphism
Copy link
Collaborator

@bearomorphism bearomorphism commented Feb 1, 2026

It turns out that I just had to run uv run ruff check --fix --unsafe-fixes for PT006 and PT007

@codecov
Copy link

codecov bot commented Feb 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.99%. Comparing base (6ee9868) to head (ddce169).
⚠️ Report is 2 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1837   +/-   ##
=======================================
  Coverage   97.99%   97.99%           
=======================================
  Files          60       60           
  Lines        2691     2691           
=======================================
  Hits         2637     2637           
  Misses         54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bearomorphism bearomorphism changed the title test: enable ruff rule PT006 and PT007 test: enable ruff rule PT Feb 1, 2026
Copy link
Member

@Lee-W Lee-W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly good, 1 nit

f"gpg --batch --yes --debug-quick-random --passphrase '' --quick-gen-key '{SIGNER} {SIGNER_MAIL}'"
)
if c.return_code != 0:
raise Exception(f"gpg keygen failed with err: '{c.err}'")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
raise Exception(f"gpg keygen failed with err: '{c.err}'")
raise Exception(f"gpg keygen failed with err: '{c.err}'")
raise subprocess.CalledProcessError(
returncode=c.return_code,
cmd="gpg --batch --yes --debug-quick-random --passphrase '' --quick-gen-key",
stderr=c.err,
)

or we can create an exception for it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

(AI was used to assist generating this section)

It turns out that I just had to run uv run ruff check --fix --unsafe-fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants