Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
33 changes: 26 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,64 @@
minimum_prek_version: 0.2.23
repos:
- repo: https://github.com/tsvikas/sync-with-uv
rev: v0.4.0
hooks:
- id: sync-with-uv
priority: 0
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.8
hooks:
- id: uv-lock
- id: uv-sync
priority: 0
- id: uv-export
priority: 0
- id: uv-export
args: ["--frozen", "--only-group=doc", "--output-file=docs/requirements.txt", "--quiet"]
priority: 0
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
priority: 0
- id: check-case-conflict
priority: 0
- id: check-merge-conflict
priority: 0
- id: check-symlinks
priority: 0
- id: check-yaml
priority: 0
- id: debug-statements
priority: 0
- id: name-tests-test
args: [--pytest-test-first]
priority: 0
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.23
hooks:
- id: validate-pyproject
priority: 0
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.5.0
hooks:
- id: pyproject-fmt
args: [--max-supported-python=3.14]
priority: 0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.3
hooks:
- id: ruff-check
args: [--fix]
priority: 0
- id: ruff-format
priority: 0
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli
priority: 0
- repo: local
hooks:
- id: deptry
Expand All @@ -45,12 +67,7 @@ repos:
language: system
always_run: true
pass_filenames: false
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli
priority: 1
- repo: local
hooks:
- id: import-linter
Expand All @@ -59,6 +76,7 @@ repos:
language: system
always_run: true
pass_filenames: false
priority: 1
- repo: local
hooks:
- id: ty
Expand All @@ -68,6 +86,7 @@ repos:
types_or: [python, pyi]
always_run: true
require_serial: true
priority: 1
default_stages:
- pre-commit
- pre-push
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dev = [
"deptry>=0.23.0",
"import-linter>=2.3",
"jinja2>=3.1.6",
"prek>=0.2.4",
"prek>=0.2.23",
"pyinstrument>=5.1.1",
"pyright[nodejs]>=1.1.399",
"ruff>=0.14.3",
Expand Down
40 changes: 20 additions & 20 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -567,26 +567,26 @@ pluggy==1.6.0 \
--hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \
--hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746
# via pytest
prek==0.2.13 \
--hash=sha256:06dc43f2d7219f2bad2c01085ad444de517b5d28e5ef361274ff39a46b68f2cc \
--hash=sha256:0f5eac126203c89e38062e665f1427207dece178f9e19bacbc37056ab8504148 \
--hash=sha256:6b3b0e07a2da4e67e7110399b5dbd8d9205df8ff39fbe80bd37ffa194c639990 \
--hash=sha256:75fe11e6689431b5a3f818276dfbcbb3502cd2a4b07a3efaf3460204adaa9a89 \
--hash=sha256:82555ede81a7ca058ffe450e0cf7aab85db2063aeeb00d4b1704b32ccb3a4e23 \
--hash=sha256:8a869f9c98da675efc947e0aa4c7a8d8434d57fa5bad20e27e54855160771053 \
--hash=sha256:8ae60b5d753272c1051667a257cbb13cfb197ef32900aee4cefa98352d5e7576 \
--hash=sha256:8cea9a0a46fc5e62ebf4cde1e700993737b6828228cf60f1ccfa1c91092e7e7f \
--hash=sha256:9f55198e4b0f08c544e790184898459973755d5b83eb21e3527d789f3fc6855e \
--hash=sha256:a72f909dd737aeda07d3768aab39d8ed2574ddf05842b8a324434810d2e7160f \
--hash=sha256:a8724e40242a4ad3cb3f14d17764c287d9b0a5ea61ac91a861e5a676bfe21c99 \
--hash=sha256:b7d0c1b1d6e315dd51cdb4e68957d5ef38a67e2c5f0dab53168cb6e842539bbf \
--hash=sha256:beb5cffb1575b645022305a601bdd395b5b005c42368fedb34bfc6aebed24b36 \
--hash=sha256:dd5e0ddc4e4c72633ee7d400c3be7df53b7bb0e61ba7c9ea4cb490d476824f79 \
--hash=sha256:dde77f9ee904df60fa9cecfbfde04257d26c3f5d0c5ee55211738b3990ff740f \
--hash=sha256:e206979c3d1834fc1683c79e8c72b7e18be3923ca5695de0642d0c9d23e2010a \
--hash=sha256:e7cb2a54d55c35b57548fc1cb74fb66126ed1437a06a33416c6484e0eb4dd80e \
--hash=sha256:eca64c201938cd71ca09eec9b3e31ad031a251f4aa22a5132eb1c1640d86114f \
--hash=sha256:fa3667c641b77c9cb100d428e615f69cf45018615af32b8c63bb4fa2cbbb8769
prek==0.2.25 \
--hash=sha256:0e74c8ebc4cc07000b588b05df22086e3ef5ce9843c7332b9cf52bdb734378b8 \
--hash=sha256:0ec0d67d1df64b34f071acee7bb1507d062f0231049c0b6587ec60f3bc761ee6 \
--hash=sha256:2cdedc528e935f01b97a7459b68b4f7584f8efcfc1b69d271a2a1bc3d6a60d36 \
--hash=sha256:35b3d8543969a03775f5963b8f6e957e9eb23bf191c76d47238557308e7b6bf6 \
--hash=sha256:3d0b9d5fb93cb679ef486f8e6c7ec091723d610d48a5430ef5ece22d649ae686 \
--hash=sha256:401d33d1f54f62489b95e7aaacb9cdecac2ab61fe0bd607c8a6c11963e6ad2b9 \
--hash=sha256:4073a368e949a117d77fcdbce13ff14a001b71e797fa35ec921892714bcfb389 \
--hash=sha256:442994797aee8a1563f7236b54bb1d99578143b30cc4559011d59a112cdf43f3 \
--hash=sha256:470373eba87baffe68bbbe18a4c4a85acba2709a8e834adad0c6147977ccdfb3 \
--hash=sha256:57db60d6e7882e1b0d6b0a2e6e4b8c240977b9309b4be0793b2d7151021f3767 \
--hash=sha256:68458ec5d8cadb18667d5126b6a98c0fd2214b624805935c90213d9205378dc8 \
--hash=sha256:6da53de6119ec176673c4e3843abe4b6cc7190adc005564ad9e2d8b2924b3934 \
--hash=sha256:7809d7f6119be8870a2a76c15d28a122efb1f356909f355461b856619f7456fb \
--hash=sha256:7b8fa764a3665ab38884e2c909f3297e5c29137cafc9c409c1eaab734d7eefcd \
--hash=sha256:9f50ae59fd33a45a58af0197a91c9a207a7f8f49e18e24ca6ca3f5d5cf88a4ac \
--hash=sha256:a85edf16c9a8aca13842c365be62911fbca38cd27ea7c9c54b6d3168a5b21703 \
--hash=sha256:b2692991046cb32f0ef7e02e49842858c87e915cf811aa3c0f473b2c073d9c67 \
--hash=sha256:c6ca24d8ab728f0d5b116576114df1c679bed59501c1ab71d9f2c78230f6b38c \
--hash=sha256:fbcdeb1d847a0e7ba6a250d4f71be2eb1773d54dd9bb14e35584b69a8d3ffce6
pycparser==2.22 \
--hash=sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6 \
--hash=sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc
Expand Down
46 changes: 23 additions & 23 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.