mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2024-11-25 19:31:44 +00:00
Add mypy configuration section to setup.cfg
This commit is contained in:
parent
e5875ffe67
commit
b77c85c295
15
setup.cfg
15
setup.cfg
@ -46,3 +46,18 @@ include =
|
|||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
rsrcfork = rsrcfork.__main__:main
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user