1+ ci :
2+ skip : [typing]
3+
14exclude : |
25 (?x)^(
36 {{cookiecutter.project_slug}}/tests/test_import.py
1518 - id : check-yaml
1619 exclude : |
1720 (?x)^(
18- {{cookiecutter.project_slug}}/environment.yml|
1921 {{cookiecutter.project_slug}}/.pre-commit-config.yaml
2022 )$
2123 - id : debug-statements
@@ -34,10 +36,6 @@ repos:
3436 - id : python-no-log-warn
3537 - id : python-use-type-annotations
3638 - id : text-unicode-replacement-char
37- - repo : https://github.com/aio-libs/sort-all
38- rev : v1.3.0
39- hooks :
40- - id : sort-all
4139- repo : https://github.com/astral-sh/ruff-pre-commit
4240 rev : v0.8.4
4341 hooks :
@@ -46,18 +44,13 @@ repos:
4644 pass_filenames : false
4745 - id : ruff-format
4846 args : [--config, pyproject.toml]
49- - repo : https://github.com/dosisod/refurb
50- rev : v2.0.0
51- hooks :
52- - id : refurb
53- exclude : ({{cookiecutter.project_slug}})
5447- repo : https://github.com/executablebooks/mdformat
5548 rev : 0.7.21
5649 hooks :
5750 - id : mdformat
5851 additional_dependencies : [
5952 mdformat-gfm,
60- mdformat-black ,
53+ mdformat-ruff ,
6154 ]
6255 args : [--wrap, "88"]
6356 files : (README\.md)
@@ -71,22 +64,23 @@ repos:
7164 - id : mdformat
7265 additional_dependencies : [
7366 mdformat-myst,
74- mdformat-black ,
67+ mdformat-ruff ,
7568 ]
7669 args : [--wrap, "88"]
7770 files : (docs/.)
78- - repo : https://github.com/codespell-project/codespell
79- rev : v2.3.0
80- hooks :
81- - id : codespell
82- additional_dependencies : [tomli]
83- - repo : https://github.com/pre-commit/mirrors-mypy
84- rev : ' v1.14.0'
71+ - repo : https://github.com/crate-ci/typos
72+ rev : v1.28.4
8573 hooks :
86- - id : mypy
87- pass_filenames : false
74+ - id : typos
8875- repo : meta
8976 hooks :
9077 - id : check-hooks-apply
9178 - id : check-useless-excludes
9279 # - id: identity # Prints all files passed to pre-commits. Debugging.
80+ - repo : local
81+ hooks :
82+ - id : typing
83+ name : typing
84+ language : system
85+ entry : uv run tox -e typing
86+ pass_filenames : false
0 commit comments