
move python/qemu/*.py to python/qemu/[machine, qmp, utils]/*.py and update import directives across the tree. This is done to create a PEP420 namespace package, in which we may create subpackages. To do this, the namespace directory ("qemu") should not have any modules in it. Those files will go into new 'machine', 'qmp' and 'utils' subpackages instead. Implement machine/__init__.py making the top-level classes and functions from its various modules available directly inside the package. Change qmp.py to qmp/__init__.py similarly, such that all of the useful QMP library classes are available directly from "qemu.qmp" instead of "qemu.qmp.qmp". Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-id: 20210527211715.394144-10-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
59 lines
1.2 KiB
INI
59 lines
1.2 KiB
INI
[MASTER]
|
|
|
|
[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
|
|
# option multiple times (only on the command line, not in the configuration
|
|
# file where it should appear only once). You can also use "--disable=all" to
|
|
# disable everything first and then reenable specific checks. For example, if
|
|
# you want to run only the similarities checker, you can use "--disable=all
|
|
# --enable=similarities". If you want to run only the classes checker, but have
|
|
# no Warning level messages displayed, use "--disable=all --enable=classes
|
|
# --disable=W".
|
|
disable=too-many-arguments,
|
|
too-many-instance-attributes,
|
|
too-many-public-methods,
|
|
|
|
[REPORTS]
|
|
|
|
[REFACTORING]
|
|
|
|
[MISCELLANEOUS]
|
|
|
|
[LOGGING]
|
|
|
|
[BASIC]
|
|
|
|
# Good variable names which should always be accepted, separated by a comma.
|
|
good-names=i,
|
|
j,
|
|
k,
|
|
ex,
|
|
Run,
|
|
_,
|
|
fd,
|
|
c,
|
|
[VARIABLES]
|
|
|
|
[STRING]
|
|
|
|
[SPELLING]
|
|
|
|
[FORMAT]
|
|
|
|
[SIMILARITIES]
|
|
|
|
# Ignore imports when computing similarities.
|
|
ignore-imports=yes
|
|
|
|
[TYPECHECK]
|
|
|
|
[CLASSES]
|
|
|
|
[IMPORTS]
|
|
|
|
[DESIGN]
|
|
|
|
[EXCEPTIONS]
|