From 349f0ae6e110772870fb645c37bc75d2a13ca65b Mon Sep 17 00:00:00 2001 From: Scott Werner Date: Thu, 21 Jan 2021 16:28:11 -0500 Subject: [PATCH] Migrate mypy config from setup.cfg to mypy.ini. --- mypy.ini | 5 +++++ setup.cfg | 21 --------------------- 2 files changed, 5 insertions(+), 21 deletions(-) create mode 100644 mypy.ini diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..e8f5b7d --- /dev/null +++ b/mypy.ini @@ -0,0 +1,5 @@ +[mypy] +ignore_missing_imports = true +warn_unreachable = true +warn_unused_ignores = true +warn_redundant_casts = true diff --git a/setup.cfg b/setup.cfg index fd77a7d..dd38343 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,23 +1,2 @@ [bdist_wheel] python-tag = py3 - -[flake8] -max-line-length = 80 -max-complexity = 18 -select = C,E,F,W,B,B950 -ignore = E203,E501,W503 -exclude = - .git - .eggs - .tox - __pycache__ - docs/conf.py - old - build - dist - -[mypy] -ignore_missing_imports = true -warn_unreachable = true -warn_unused_ignores = true -warn_redundant_casts = true