Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Entries for 1.0.0 through 1.5.2 were backfilled from git history after the fact,

## [Unreleased]

### Fixed

- The scaffolded typos hook skips `.copier-answers.yml`. The file is generated, and its `_commit` is whatever ref the last update used — when that is a short SHA rather than a tag, its leading hex characters are a coin flip away from a word typos reads as misspelled, and `ba338ef` duly tripped `ba` → `by`, `be`. Nothing in the file is prose, so checking it could only ever produce false positives, on a schedule nobody controls.

## [1.8.1] - 2026-08-07

Repairs 1.8.0, which shipped a lightweight tag and left every project unable to update. Consumers land on 1.8.1 rather than 1.8.0; the contents are the same bar this fix.
Expand Down
8 changes: 8 additions & 0 deletions template/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ repos:
# correction needs a human to approve it, so --write-changes is dropped.
- id: typos # spell-check code, comments, and docs
args: [--force-exclude]
# .copier-answers.yml is generated, and its `_commit` is whatever ref
# the last update resolved to. Between releases that is a git describe
# string rather than a plain tag, so it carries a run of raw hex -- and
# a short hex run is a coin flip away from spelling something typos
# reads as a misspelled word. Nothing in the file is prose, so checking
# it can only ever produce false positives, on a schedule nobody
# controls. (Quoting a real example here would trip the same hook.)
exclude: ^\.copier-answers\.yml$

{% endif %}
- repo: https://github.com/zizmorcore/zizmor-pre-commit
Expand Down