Skip to content

Commit ca20a77

Browse files
authored
Add mypy type checking to pre-commit hooks (#57)
1 parent e5a2c9c commit ca20a77

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,10 @@ repos:
4343
entry: npm exec --yes -- jshint
4444
language: system
4545
files: ^mkdocs/.*\.js$
46+
- id: mypy
47+
name: mypy
48+
entry: hatch run types:check
49+
language: system
50+
pass_filenames: false
51+
always_run: false
52+
require_serial: true

0 commit comments

Comments
 (0)