Pylint 4.x wants to use a different regex for _Stub for some reason; just silence this.
Signed-off-by: John Snow <[email protected]> --- scripts/qapi/introspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qapi/introspect.py b/scripts/qapi/introspect.py index 89ee5d5f176..7e28de2279a 100644 --- a/scripts/qapi/introspect.py +++ b/scripts/qapi/introspect.py @@ -59,7 +59,7 @@ # # Sadly, mypy does not support recursive types; so the _Stub alias is used to # mark the imprecision in the type model where we'd otherwise use JSONValue. -_Stub = Any +_Stub = Any # pylint: disable=invalid-name _Scalar = Union[str, bool, None] _NonScalar = Union[Dict[str, _Stub], List[_Stub]] _Value = Union[_Scalar, _NonScalar] -- 2.51.1
