fix mypy errors; add mypy precommit hooks (#5237)

This commit is contained in:
Saugat Pachhai
2021-01-08 16:05:52 +02:00
committed by GitHub
parent ccc17917cf
commit 388eccad13
8 changed files with 43 additions and 14 deletions
+6
View File
@@ -19,6 +19,12 @@ repos:
- flake8-string-format
repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
- hooks:
- id: mypy
language_version: python3
files: ^dvc/
repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.790'
- repo: local
hooks:
- id: pylint