Skip to content

closes 248 - #261

Merged
yakew7 merged 8 commits into
yakew7:mainfrom
evanjain-dot:main
Aug 14, 2026
Merged

closes 248#261
yakew7 merged 8 commits into
yakew7:mainfrom
evanjain-dot:main

Conversation

@evanjain-dot

Copy link
Copy Markdown
Contributor

Solved issue - closes #248

Add ruff check as a Python linter, scoped to select = ["F"] (Pyflakes
only: unused imports, undefined names, redefinitions) in
pyproject.toml - narrower than ruff's own default (E4, E7, E9, F).
E4 includes E402, which false-positives on tests/*.py's
pytest.importorskip(...) then from x import y guard idiom (used in
test_metrics.py, test_proxy.py, test_strategies.py, and elsewhere);
flagging that would be exactly the style churn the issue asked to
avoid.

Wired into make lint/lint.yml (added the pip install ruff step it
needed), .pre-commit-config.yaml (mirroring the em-dash hook's
always_run/pass_filenames style, per the issue's suggestion), and
make setup's installed dev tools.

Running it found two real bugs, both fixed: a duplicated
"import importlib" in tests/test_generate_images.py, and an unused
Manifest import in tests/test_manifest.py.

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@evanjain-dot is attempting to deploy a commit to the yashkewlani2020-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

@yakew7 @ahmdkaml - new PR to review.

@yakew7
yakew7 merged commit d5e79bc into yakew7:main Aug 14, 2026
18 of 19 checks passed
yakew7 added a commit that referenced this pull request Aug 14, 2026
Bump the snapshot to cover #256, #258, #259, #260, #261 - five PRs
merged since the last update (#238). Corrects ahmdkaml's merged-PR
count from 30 to 36 (the previous count undercounted due to gh pr
list's default 30-item page limit) and adds their #256/#258/#259
work. Credits evanjain-dot's ruff-linter PR (#261, closes #248) and
propcgamer20-png's report.py table-accessibility PR (#260, closes
#254), and adds propcgamer20-png to the Profiler - CLI & loaders area
row for touching faircode/report.py.
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.

No Python linter beyond the em-dash check

2 participants