You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/scripts/qapi
John Snow 678868eee3 qapi: delete un-needed python static analysis configs
Since the previous commit, python/setup.cfg applies to scripts/qapi/ as
well.  Configuration files in scripts/qapi/ override python/setup.cfg.

scripts/qapi/.flake8 and scripts/qapi/.isort.cfg actually match
python/setup.cfg exactly, and can go.

The differences between scripts/qapi/mypy.ini and python/setup.cfg are
harmless: namespace_packages being set to True is a requirement for the
PEP420 nested package structure of QEMU but not for scripts/qapi, but
has no effect on type checking the QAPI code. warn_unused_ignores is
used in python/ to be able to target a wide variety of mypy versions;
some of which that have added new ignore categories that are not present
in older versions.

Ultimately, scripts/qapi/mypy.ini can be removed without any real change
in behavior to how mypy enforces type safety there.

The pylint config is being left in place because the settings differ
enough from the python/ directory settings that we need a chit-chat on
how to merge them O:-)

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20250604200354.459501-7-jsnow@redhat.com
2 days ago
..
__init__.py
backend.py qapi: Add some pylint ignores 2 days ago
commands.py qapi: expose all schema features to code 4 months ago
common.py qapi: Smarter camel_to_upper() to reduce need for 'prefix' 9 months ago
error.py qapi/error: Add type hints 4 years ago
events.py qapi: Move include/qapi/qmp/ to include/qobject/ 4 months ago
expr.py qapi: Fix to reject 'data': 'mumble' in struct 2 years ago
features.py qapi: expose all schema features to code 4 months ago
gen.py qapi: expose all schema features to code 4 months ago
introspect.py qapi/introspect: Use @dataclass to simplify 3 months ago
main.py scripts/qapi/backend: Clean up create_backend()'s failure mode 3 months ago
parser.py qapi/parser: add undocumented stub members to all_sections 3 months ago
pylintrc python: add qapi static analysis tests 2 days ago
schema.py qapi: Eliminate OrderedDict 3 months ago
source.py qapi/source: allow multi-line QAPISourceInfo advancing 3 months ago
types.py qapi: expose all schema features to code 4 months ago
visit.py qapi: expose all schema features to code 4 months ago