Skip to content
Open
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
14 changes: 8 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ repos:
hooks:
- id: mdformat

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8"
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.7.3"
Comment on lines -33 to +34
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pre-commit mirror was shutdown; this is a maintained replacement.

hooks:
- id: prettier
types_or: [yaml, html, json]
Expand All @@ -42,13 +42,18 @@ repos:
- id: mypy
files: jupyter_client
stages: [manual]
args: ["--install-types", "--non-interactive"]
args: []
additional_dependencies:
- traitlets>=5.13
- ipykernel>=6.26
- jupyter_core>=5.3.2
- orjson>=3.11.4
- msgpack-types
- types-pexpect
- types-paramiko
- types-netifaces
- types-psutil
- types-python-dateutil

- repo: https://github.com/adamchainz/blacken-docs
rev: "1.20.0"
Expand All @@ -73,13 +78,10 @@ repos:
rev: v0.14.0
hooks:
- id: ruff-check
types_or: [python, jupyter]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now the default (along with .pyi), jupyter was added a while ago.

args: ["--fix", "--show-fixes"]
- id: ruff-format
types_or: [python, jupyter]

- repo: https://github.com/scientific-python/cookie
rev: "2025.10.01"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only needed if you add extra dependencies.

Loading