mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
👷 Add pre-commit hook to catch typos (#2317)
This commit is contained in:
@@ -9,3 +9,25 @@ dev = [
|
||||
github-actions = [
|
||||
"smokeshow >=0.5.0",
|
||||
]
|
||||
|
||||
[tool.typos.files]
|
||||
extend-exclude = [
|
||||
"img/",
|
||||
"uv.lock",
|
||||
"bun.lock",
|
||||
"backend/coverage/",
|
||||
"backend/htmlcov/",
|
||||
"frontend/dist/",
|
||||
"frontend/public/assets/images/",
|
||||
]
|
||||
|
||||
[tool.typos.default]
|
||||
extend-ignore-re = [
|
||||
# GitHub usernames in @mentions
|
||||
"@[a-zA-Z0-9](?:-?[a-zA-Z0-9])*",
|
||||
# Name of the package in the PR title
|
||||
"Bump certifi ",
|
||||
]
|
||||
|
||||
[tool.typos.default.extend-identifiers]
|
||||
alls = "alls"
|
||||
|
||||
Reference in New Issue
Block a user