← 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 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.

Suggested action: keep open

Reason: The issue was triaged and acknowledged by maintainers, who agreed on a skip-list workaround and explicitly marked it blocked by upstream codespell-project/codespell#1887. The underlying problem (codespell not respecting .gitignore) is still reproducible and not resolved, so inactivity alone does not justify closing; it remains a valid, externally-blocked item.

Impact: 25 Quick Win: 13.75 Staleness: 75 Complexity: 45 Confidence: 70 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 25
Quick Win: 13.75
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.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 10
Confidence: 85
Support Request: 10
close not a bug codespell scans files ignored by .gitignore, like venv directories. Blocked by upstream issue #1887. Maintainers agreed on a temporary skip config workaround. Currently open and awaiting upstream resolution or further discussion.

Update history

No update history recorded yet.

Related work

  • Blocked By: codespell-project/codespell#1887 (confidence 85%)

    Comment by @lengau states the straightforward fix is blocked by this upstream codespell issue.

Related issues

Issue Project State Summary Similarity
#35 lint: skip more commonly ignored files and directories with codespell starbase merged Merged an update to the codespell configuration that skips additional commonly ignored files and directories. Approved by a reviewer, passed CI checks, and applied with a minimal one-file change.
72%