Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit85f4cb4

Browse files
committed
MNT: Add mypy pre-commit hook
1 parent24d5acb commit85f4cb4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎.pre-commit-config.yaml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,15 @@ repos:
2525
hooks:
2626
-id:flake8
2727
exclude:"^(doc|nisext|tools)/"
28+
-repo:https://github.com/pre-commit/mirrors-mypy
29+
rev:v0.991
30+
hooks:
31+
-id:mypy
32+
# Sync with project.optional-dependencies.typing
33+
additional_dependencies:
34+
-pytest
35+
-types-setuptools
36+
-types-Pillow
37+
-pydicom
38+
# Sync with tool.mypy['exclude']
39+
exclude:"^(doc|nisext|tools)/|.*/tests/"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp