qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] qapi: static typing conversion, pt5c


From: John Snow
Subject: [PATCH 0/3] qapi: static typing conversion, pt5c
Date: Thu, 20 May 2021 11:17:56 -0400

This is part five (c), and focuses on sharing strict types between
parser.py and expr.py.

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

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 (3):
  qapi/expr: Split check_expr out from check_exprs
  qapi/parser.py: add ParsedExpression type
  qapi/parser: Remove _JSONObject

 scripts/qapi/expr.py   | 223 ++++++++++++++++++++---------------------
 scripts/qapi/parser.py |  29 ++++--
 scripts/qapi/schema.py |   6 +-
 3 files changed, 129 insertions(+), 129 deletions(-)

-- 
2.30.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]