All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] qapi: static typing conversion, pt5b
@ 2021-05-19 19:17 John Snow
  2021-05-19 19:17 ` [PATCH 1/6] qapi/parser.py: remove unused check_args_section arguments John Snow
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: John Snow @ 2021-05-19 19:17 UTC (permalink / raw)
  To: qemu-devel
  Cc: Markus Armbruster, John Snow, Eduardo Habkost, Michael Roth,
	Cleber Rosa

This is part five (b), and focuses on QAPIDoc in parser.py.

gitlab: https://gitlab.com/jsnow/qemu/-/commits/python-qapi-cleanup-pt5b

Requirements:
- Python 3.6+
- mypy >= 0.770
- pylint >= 2.6.0 (2.7.0+ when using Python 3.9+)

Every commit should pass with:
 - `isort -c qapi/`
 - `flake8 qapi/`
 - `pylint --rcfile=qapi/pylintrc qapi/`
 - `mypy --config-file=qapi/mypy.ini qapi/`

John Snow (6):
  qapi/parser.py: remove unused check_args_section arguments
  qapi/parser: Allow empty QAPIDoc Sections
  qapi/parser.py: add type hint annotations (QAPIDoc)
  qapi/parser.py: enable mypy checks
  qapi/parser.py: Silence too-few-public-methods warning
  qapi/parser.py: enable pylint checks

 scripts/qapi/mypy.ini  |  5 ---
 scripts/qapi/parser.py | 85 ++++++++++++++++++++++++++----------------
 scripts/qapi/pylintrc  |  3 +-
 3 files changed, 54 insertions(+), 39 deletions(-)

-- 
2.30.2




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-06-11 17:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-19 19:17 [PATCH 0/6] qapi: static typing conversion, pt5b John Snow
2021-05-19 19:17 ` [PATCH 1/6] qapi/parser.py: remove unused check_args_section arguments John Snow
2021-05-20 14:27   ` Markus Armbruster
2021-05-19 19:17 ` [PATCH 2/6] qapi/parser: Allow empty QAPIDoc Sections John Snow
2021-05-20 14:42   ` Markus Armbruster
2021-05-20 22:23     ` John Snow
2021-05-21  5:35       ` Markus Armbruster
2021-05-21 15:55         ` John Snow
2021-06-11 14:40           ` Markus Armbruster
2021-06-11 17:21             ` John Snow
2021-05-19 19:17 ` [PATCH 3/6] qapi/parser.py: add type hint annotations (QAPIDoc) John Snow
2021-05-20 15:05   ` Markus Armbruster
2021-05-20 22:48     ` John Snow
2021-05-21  6:05       ` Markus Armbruster
2021-05-19 19:17 ` [PATCH 4/6] qapi/parser.py: enable mypy checks John Snow
2021-05-19 19:17 ` [PATCH 5/6] qapi/parser.py: Silence too-few-public-methods warning John Snow
2021-05-19 19:17 ` [PATCH 6/6] qapi/parser.py: enable pylint checks John Snow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.