← Back to issue list

codespell doesn't ignore files in `.gitignore`

View original Github issue

Metadata

Project
starbase
Number
#34
Type
issue
State
open
Author
mr-cal
Labels
—
Created
Updated
Closed
—

Current evaluation

codespell scans gitignored paths (venv/pip) causing lint false positives; maintainers agreed to a manual `skip` workaround (venv already in [tool.codespell].skip) and left it open pending upstream gitignore support

Suggested action: keep open

Reason: This is a triaged, deliberately-parksed request: lengau explicitly wrote "Leaving open for further discussion and marking as blocked since the 'full'/straightforward fix is blocked from upstream" and mr-cal agreed "that seems like the best workaround for now". The immediate reproducer (venv files) is already covered by the current config — pyproject.toml has skip = "...,.venv,venv,..." — but the general ask (honour .gitignore) remains unimplemented, so it must stay open rather than be closed as resolved or stale.

Evaluated by: mr-cal-bot

Impact: 28 Quick Win: 7 Complexity: 50 Confidence: 70 Actionability: 52

Issue body

Here's a reproducer: ``` > python3 -m venv venv > tox lint-codespell: commands[0]> codespell --toml /home/developer/dev/starbase/pyproject.toml ./venv/lib/python3.10/site-packages/tox/tox_env/python/api.py:53: interpeter ==> interpreter ./venv/lib/python3.10/site-packages/pip/_internal/vcs/bazaar.py:64: readd ==> re-add, read ./venv/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py:90: readd ==> re-add, read ./venv/lib/python3.10/site-packages/pip/_internal/utils/misc.py:340: becouse ==> because ... ``` Assuming it will be an easy fix, but I've hit my mental quota for linting issue today.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 28
Quick Win: 7
Complexity: 50
Confidence: 70
Actionability: 52
keep open codespell scans gitignored paths (venv/pip) causing lint false positives; maintainers agreed to a manual `skip` workaround (venv already in [tool.codespell].skip) and left it open pending upstream gitignore support
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 14
Complexity: 20
Confidence: 75
Actionability: 60
keep open codespell doesn't respect .gitignore, flagging files in venv/pip. Maintainers agreed on a skip workaround but left it open, blocked by upstream codespell#1887.
qwen/qwen3.8-27b
Impact: 25
Quick Win: 14
Staleness: 75
Complexity: 45
Confidence: 70
Support Request: 10
keep open codespell lint step flags files inside venv/ignored paths because it does not honor .gitignore. Maintainers agreed on a skip-list workaround; the full fix is blocked on upstream codespell. Inactive ~16 months, still open.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12
Staleness: 75
Complexity: 40
Confidence: 60
Support Request: 10
close stale codespell lint step scans venv/ignored files because it doesn't honor .gitignore. Maintainers agreed to extend the skip list as a workaround; full fix blocked on upstream codespell. Inactive for ~16 months.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 35
Confidence: 75
Support Request: 25
close stale codespell flags files in venv despite .gitignore. Issue is blocked by upstream bug, has an accepted workaround, and has been inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 40
Confidence: 85
Support Request: 10
close stale codespell scans files outside .gitignore, like venv/. Blocked by upstream #1887. Maintainers agreed on a skip parameter workaround. Open but inactive for over a year.

Update history

No update history recorded yet.

Related work

  • Blocked By: codespell#1887 (confidence 88%)

    Cited explicitly by lengau as the upstream blocker preventing codespell from respecting .gitignore; no evidence the upstream feature landed.

Related issues

No related issues found above the similarity threshold.