Add mypy pre-commit hook

This commit is contained in:
Stephan Jaensch 2017-08-08 18:00:24 +02:00
parent 1553c96e2a
commit c98075bf8b
2 changed files with 12 additions and 0 deletions

View file

@ -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