You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style: fix lint errors surfaced by ruff v0.16.0 (#72)
Ruff 0.16.0 enables new rules that flag existing code. Apply the safe
autofixes and resolve the remaining findings:
- RUF046: drop redundant int() around math.ceil()/round() (already int)
- PIE810: merge repeated startswith() calls into a single tuple call
- G201/TRY401: use logger.exception() instead of logger.error(exc_info=True)
and drop the redundant exception object from the message
- SIM117: combine nested with statements
- plus ruff's safe autofixes (import order, max(), unused noqa, redundant
parens)
Claude-Session: https://claude.ai/code/session_01PjbdedU3mPd5uYrTibuFpJ
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments