add linting script for mypy

This commit is contained in:
Dima Gerasimov 2020-04-12 13:15:33 +01:00
parent e5b3a1e91e
commit 01b52fcca2
2 changed files with 93 additions and 0 deletions

10
mypy.ini Normal file
View file

@ -0,0 +1,10 @@
[mypy]
mypy_path=~/.config/my
pretty = True
show_error_context = True
show_error_codes = True
check_untyped_defs = True
# it's not controled by me, so for now just ignore..
[mypy-my.config.repos.pdfannots.pdfannots]
ignore_errors = True