commit | 8bb09ce4072ca2d020fc5d6a1c4625d3cb4db62f | [log] [tgz] |
---|---|---|
author | Anthony Sottile <asottile@umich.edu> | Wed May 08 14:30:29 2019 -0700 |
committer | Anthony Sottile <asottile@umich.edu> | Wed May 08 14:30:29 2019 -0700 |
tree | 53497220da0d62b9e3bf2e64df823adb1951fc8b | |
parent | 6d7906e131976a1ce14ab583badb734727c5da3e [diff] [blame] |
Combine mypy.ini and setup.cfg Committed via https://github.com/asottile/all-repos
diff --git a/setup.cfg b/setup.cfg index a28236e..2bc3d45 100644 --- a/setup.cfg +++ b/setup.cfg
@@ -69,3 +69,16 @@ [bdist_wheel] universal = True + +[mypy] +check_untyped_defs = true +disallow_any_generics = true +disallow_incomplete_defs = true +disallow_untyped_defs = true +no_implicit_optional = true + +[mypy-testing.*] +disallow_untyped_defs = false + +[mypy-tests.*] +disallow_untyped_defs = false