Skip to content

Clear ruff findings in the vendored library - #9

Merged
JoshADC merged 1 commit into
JoshADC:masterfrom
jpettitt:lint-vendored-cleanup
Oct 11, 2026
Merged

JoshADC merged 1 commit into
JoshADC:masterfrom
jpettitt:lint-vendored-cleanup

Conversation

@jpettitt

Copy link
Copy Markdown

Lint has been red on master since the workflow started installing: 28 findings, all in the vendored pysecspy and const.py, so every PR shows a failing check. This clears them: docstring wording, Optional to X | None, an isinstance tuple, one unused import, one import moved above a function, and the bare except narrowed to except Exception. No behaviour change; ruff is clean and the 18 tests pass.

🤖 Generated with Claude Code and reviewed by @jpettitt

Docstring wording and typing only, plus one bare except narrowed to Exception
and an import moved above the function in const.py. No behaviour change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Reviewed-by: John Pettitt @jpettitt
@JoshADC
JoshADC merged commit 1032601 into JoshADC:master Oct 11, 2026
4 checks passed
@JoshADC

JoshADC commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Thanks — this has been bugging me since I turned Lint on. Read through every change and agree there's no behaviour change. Merged.

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