Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ repos:
- --unsafe
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: bbaefadf97b0ec5fdc942684b647f1a6ab250274 # v1.46.0
hooks:
- id: typos
args: [--force-exclude]
- repo: local
hooks:
- id: local-ruff-check
Expand Down
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,16 @@ keep-runtime-typing = true

[tool.ty.terminal]
error-on-warning = true

[tool.typos.files]
extend-exclude = [
"coverage/",
"dist/",
"docs/img/",
Comment thread
YuriiMotov marked this conversation as resolved.
Outdated
"release-notes.md",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No typos in release-notes.md currently. Do we wan't to remove it from excluded files or keep it?

"htmlcov/",
"uv.lock",
]

[tool.typos.default.extend-identifiers]
alls = "alls"
Loading