mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 11:29:26 +00:00
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:
@ -1,4 +0,0 @@
|
|||||||
[mypy]
|
|
||||||
strict = True
|
|
||||||
python_version = 3.6
|
|
||||||
warn_unused_configs = True
|
|
@ -27,6 +27,11 @@ extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's
|
|||||||
exclude = __pycache__,
|
exclude = __pycache__,
|
||||||
.venv,
|
.venv,
|
||||||
|
|
||||||
|
[mypy]
|
||||||
|
strict = True
|
||||||
|
python_version = 3.6
|
||||||
|
warn_unused_configs = True
|
||||||
|
|
||||||
[pylint.messages control]
|
[pylint.messages control]
|
||||||
# Disable the message, report, category or checker with the given id(s). You
|
# Disable the message, report, category or checker with the given id(s). You
|
||||||
# can either give multiple identifiers separated by comma (,) or put this
|
# can either give multiple identifiers separated by comma (,) or put this
|
||||||
|
Reference in New Issue
Block a user