canonical / canonical/starbase
codespell doesn't ignore files in `.gitignore`
- Dominant language
- Makefile
- Stars
- 13
- Forks
- 6
- Avg merge
- 23h 56m
- Merged PRs (30d)
- 9
Description
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.
Contributor guide
Research direction
The reproducer runs tox and codespell with configuration in pyproject.toml; start by inspecting that configuration and how the lint-codespell command is defined. Re-run the shown command with the virtualenv present and verify that files covered by .gitignore are excluded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100