Skip to content

Commit 2d4d35d

Browse files
committed
also update mypy in pyproject.toml and add parallel running option (4 cores)
1 parent fdebdf7 commit 2d4d35d

3 files changed

Lines changed: 371 additions & 331 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ repos:
3636
rev: "v2.0.0"
3737
hooks:
3838
- id: mypy
39+
args: [--ignore-missing-imports, --scripts-are-modules, -n4]
3940
additional_dependencies:
4041
- types-PyYAML
4142
- types-requests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ dependencies = [
6262

6363
[project.optional-dependencies]
6464
dev = [
65-
"mypy",
65+
"mypy>=2.0.0",
6666
"myst_parser",
6767
"pytest-cov",
6868
"pytest-datafiles",

0 commit comments

Comments
 (0)