mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
It reports such cases: * Duplicated type parameter names in type parameter lists * Wrong number of type var constraints (one or zero) defined with new-style PEP 695 syntax * Use of constraints for ParamSpec and TypeVarTuple type parameter kinds GitOrigin-RevId: e0e8e7eb4dcef0c1b56ea49a3527666e3c713d86
1 line
115 B
Python
1 line
115 B
Python
def foo[**P: <error descr="ParamSpec and TypeVarTuple cannot have constraints and upper bounds">str</error>](): ... |