python: move mypy.ini into setup.cfg

mypy supports reading its configuration values from a central project
configuration file; do so.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20210527211715.394144-22-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
John Snow 2021-05-27 17:17:05 -04:00
parent 6d17d91043
commit e941c844e4
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +0,0 @@
[mypy]
strict = True
python_version = 3.6
warn_unused_configs = True

View File

@ -27,6 +27,11 @@ extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's
exclude = __pycache__,
.venv,
[mypy]
strict = True
python_version = 3.6
warn_unused_configs = True
[pylint.messages control]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this