Skip to content

Commit 86257c8

Browse files
author
Alan
committed
Add orjson and msgpack as additional_dependencies for mypy in .pre-commit-config.yaml.
1 parent a851764 commit 86257c8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,20 @@ repos:
3737
types_or: [yaml, html, json]
3838

3939
- repo: https://github.com/pre-commit/mirrors-mypy
40-
rev: "v1.18.2"
40+
rev: "v1.19.0"
4141
hooks:
4242
- id: mypy
4343
files: jupyter_client
4444
stages: [manual]
4545
args: ["--install-types", "--non-interactive"]
4646
additional_dependencies:
47-
["traitlets>=5.13", "ipykernel>=6.26", "jupyter_core>=5.3.2"]
47+
[
48+
"traitlets>=5.13",
49+
"ipykernel>=6.26",
50+
"jupyter_core>=5.3.2",
51+
"orjson>=3.11.4",
52+
"msgpack>=1.1.2",
53+
]
4854

4955
- repo: https://github.com/adamchainz/blacken-docs
5056
rev: "1.20.0"

0 commit comments

Comments
 (0)