mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Add mypy pre-commit hook
This commit is contained in:
parent
1553c96e2a
commit
c98075bf8b
2 changed files with 12 additions and 0 deletions
|
|
@ -191,6 +191,15 @@
|
|||
# for backward compatibility
|
||||
files: ''
|
||||
minimum_pre_commit_version: 0.15.0
|
||||
- id: mypy
|
||||
name: mypy
|
||||
description: This hook runs mypy.
|
||||
entry: mypy
|
||||
language: python
|
||||
types: [python]
|
||||
# for backward compatibility
|
||||
files: ''
|
||||
minimum_pre_commit_version: 0.15.0
|
||||
- id: name-tests-test
|
||||
name: Tests should end in _test.py
|
||||
description: This verifies that test files are named correctly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue