From 8bb09ce4072ca2d020fc5d6a1c4625d3cb4db62f Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 8 May 2019 14:30:29 -0700 Subject: [PATCH] Combine mypy.ini and setup.cfg Committed via https://github.com/asottile/all-repos --- mypy.ini | 12 ------------ setup.cfg | 13 +++++++++++++ 2 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 mypy.ini diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index ee62c89..0000000 --- a/mypy.ini +++ /dev/null @@ -1,12 +0,0 @@ -[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 diff --git a/setup.cfg b/setup.cfg index a28236e..2bc3d45 100644 --- a/setup.cfg +++ b/setup.cfg @@ -69,3 +69,16 @@ exclude = [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