Skip to content

Commit

Permalink
💚 use typos for spellchecking
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Dec 3, 2024
1 parent ab32077 commit ab3e82c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
config: ".markdownlint.yaml"
globs: "**/*.md"

- name: typos
uses: crate-ci/typos@master

- name: setup uv
uses: astral-sh/setup-uv@v4

Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ci:
skip:
- markdownlint
- mdformat
- codespell
- ruff
- ruff-format
- typetest
Expand Down Expand Up @@ -56,6 +57,11 @@ repos:
- mdformat-gfm-alerts
- mdformat-pyproject

- repo: https://github.com/crate-ci/typos
rev: v1.28.2
hooks:
- id: typos

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
hooks:
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ args = [
{name = "path", positional = true, multiple = false, default = "scipy-stubs"},
]

[tool.codespell]
context = 2
skip = "*.lock,*.pyi"
[tool.typos.files]
extend-exclude = ["*.pyi"]

[tool.mdformat]
end_of_line = "lf"
Expand Down

0 comments on commit ab3e82c

Please sign in to comment.