]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/qapidoc: linting fixes
authorJohn Snow <jsnow@redhat.com>
Wed, 4 Jun 2025 20:03:50 +0000 (16:03 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 5 Jun 2025 16:08:53 +0000 (12:08 -0400)
commita738817c1ddb1730cf144e444d367b5d37e4a4dd
treebb3d1bad52c929107e134d2c0cceb979a2cc0e03
parentdc955052b400572dcfed896532d2b0dcf9d111f5
docs/qapidoc: linting fixes

This restores the linting baseline in qapidoc. The order of some imports
change slightly here due to configuring isort a little better:
previously, isort was having difficulty understanding that "compat" and
"qapidoc_legacy" were local modules because docs/sphinx "isn't a python
package". Configuring this manually, isort chooses a different import
ordering, which _is_ intentional here.

Also: extra ignores are added for pylint. The most recent versions of
pylint don't require these ignores, but the oldest versions we support
do, so in the extra ignores go.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20250604200354.459501-3-jsnow@redhat.com
docs/sphinx/qapi_domain.py
docs/sphinx/qapidoc.py