Skip to content
Myr

👷 Add pre-commit for typos (#1730)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by GitHub · parent b21f9b4 · Browse files · 3 files+25 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+25 added−1 removed

  • other:+25 added−1 removed

3 files+25 added−1 removed

modified:typer/.agents/skills/typer/SKILL.md+1 added-1 removed
110 unmodified lines
111 # Note that name is an optional Argument, as a default is provided112 print(f"Hello {name}")113```114115Similarly, the old style could use ellipsis (...) to explicitely mark an argument as required.115Similarly, the old style could use ellipsis (...) to explicitly mark an argument as required.116117```python118# DO NOT DO THIS: old style. Use Annotated without a default value instead.119
147 unmodified lines
modified:.pre-commit-config.yaml+6 added
modified:pyproject.toml+18 added
210 unmodified lines
211"""212213[tool.ty.terminal]214error-on-warning = true215216[tool.typos.files]217extend-exclude = [218 "coverage/",219 "dist/",220 "docs/img/",221 "docs/release-notes.md",222 "htmlcov/",223 "site/",224 "site_build/",225 "uv.lock",226]227228[tool.typos.default.extend-identifiers]229alls = "alls"230231[tool.typos.default.extend-words]232Ines = "Ines"