Add mypy configuration section to setup.cfg

This commit is contained in:
dgelessus 2019-09-29 16:27:37 +02:00
parent e5875ffe67
commit b77c85c295
1 changed files with 15 additions and 0 deletions

View File

@ -46,3 +46,18 @@ include =
[options.entry_points]
console_scripts =
rsrcfork = rsrcfork.__main__:main
[mypy]
files=rsrcfork/**/*.py
python_version = 3.6
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_unused_ignores = True
warn_unreachable = True
warn_redundant_casts = True