-
Notifications
You must be signed in to change notification settings - Fork 501
Open
Description
I ran into it before but forgot to report, and now didn't find open issue. Currently inspired by PrefectHQ/prefect#10893 where running codespell in CLI directly results in no hits, but pre-commit reports:
codespell................................................................Failed
- hook id: codespell
- exit code: 65
.github/ISSUE_TEMPLATE/5_maintenance_ticket.yaml:1: maintenence ==> maintenance
.github/workflows/python-tests.yaml:62: automaticlly ==> automatically
.github/workflows/python-tests.yaml:246: automaticlly ==> automatically
.github/ISSUE_TEMPLATE/2_ui_bug_report.yaml:69: Browers ==> Browsers
ui/package-lock.json:2999: OT ==> TO, OF, OR, NOT
ui/package-lock.json:8411: OT ==> TO, OF, OR, NOT
src/prefect/_vendor/fastapi/utils.py:131: unecessary ==> unnecessary
Problems:
-
If I define files to
skipin codespell configuration (e.g. in.codespellrc), those files will not be skipped inpre-commit run --allsince ( I guess) pre-commit would pass those paths explicitly tocodespellinvocation and thus it would not account forskip. -
Also, complimentary, may be
codespellshould check in.dotdirslike.githubetc?
electriquo
Metadata
Metadata
Assignees
Labels
No labels