| 1 |
ci: |
| 2 |
autoupdate_schedule: monthly |
| 3 |
autoupdate_commit_msg: "chore: update pre-commit hooks" |
| 4 |
|
| 5 |
repos: |
| 6 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
| 7 |
rev: v6.0.0 |
| 8 |
hooks: |
| 9 |
- id: check-case-conflict |
| 10 |
- id: check-ast |
| 11 |
- id: check-docstring-first |
| 12 |
- id: check-executables-have-shebangs |
| 13 |
- id: check-added-large-files |
| 14 |
- id: check-case-conflict |
| 15 |
- id: check-merge-conflict |
| 16 |
- id: check-json |
| 17 |
- id: check-toml |
| 18 |
- id: check-yaml |
| 19 |
- id: debug-statements |
| 20 |
- id: end-of-file-fixer |
| 21 |
- id: trailing-whitespace |
| 22 |
|
| 23 |
- repo: https://github.com/python-jsonschema/check-jsonschema |
| 24 |
rev: 0.34.0 |
| 25 |
hooks: |
| 26 |
- id: check-github-workflows |
| 27 |
|
| 28 |
- repo: https://github.com/hukkin/mdformat |
| 29 |
rev: 0.7.22 |
| 30 |
hooks: |
| 31 |
- id: mdformat |
| 32 |
|
| 33 |
- repo: https://github.com/rbubley/mirrors-prettier |
| 34 |
rev: "v3.7.3" |
| 35 |
hooks: |
| 36 |
- id: prettier |
| 37 |
types_or: [yaml, html, json] |
| 38 |
|
| 39 |
- repo: https://github.com/pre-commit/mirrors-mypy |
| 40 |
rev: "v1.19.0" |
| 41 |
hooks: |
| 42 |
- id: mypy |
| 43 |
files: jupyter_client |
| 44 |
stages: [manual] |
| 45 |
args: [] |
| 46 |
additional_dependencies: |
| 47 |
- traitlets>=5.13 |
| 48 |
- ipykernel>=6.26 |
| 49 |
- jupyter_core>=5.3.2 |
| 50 |
- orjson>=3.11.4 |
| 51 |
- msgpack-types |
| 52 |
- types-pexpect |
| 53 |
- types-paramiko |
| 54 |
- types-netifaces |
| 55 |
- types-psutil |
| 56 |
- types-python-dateutil |
| 57 |
|
| 58 |
- repo: https://github.com/adamchainz/blacken-docs |
| 59 |
rev: "1.20.0" |
| 60 |
hooks: |
| 61 |
- id: blacken-docs |
| 62 |
additional_dependencies: [black==23.7.0] |
| 63 |
|
| 64 |
- repo: https://github.com/codespell-project/codespell |
| 65 |
rev: "v2.4.1" |
| 66 |
hooks: |
| 67 |
- id: codespell |
| 68 |
args: ["-L", "sur,nd"] |
| 69 |
|
| 70 |
- repo: https://github.com/pre-commit/pygrep-hooks |
| 71 |
rev: "v1.10.0" |
| 72 |
hooks: |
| 73 |
- id: rst-backticks |
| 74 |
- id: rst-directive-colons |
| 75 |
- id: rst-inline-touching-normal |
| 76 |
|
| 77 |
- repo: https://github.com/astral-sh/ruff-pre-commit |
| 78 |
rev: v0.14.0 |
| 79 |
hooks: |
| 80 |
- id: ruff-check |
| 81 |
args: ["--fix", "--show-fixes"] |
| 82 |
- id: ruff-format |
| 83 |
|
| 84 |
- repo: https://github.com/scientific-python/cookie |
| 85 |
rev: "2025.10.01" |
| 86 |
hooks: |
| 87 |
- id: sp-repo-review |