https://github.com/nicovank commented:

I commented in issue but I think the problem is with `re.Match` not Tuple. 
[Python docs](https://docs.python.org/3.5/library/typing.html#typing.Tuple) 
seem to show Tuple had subscripting from its introduction in 3.5.

The script currently passes a strict mypy check which requires all parameters 
annotated, would be nice to keep it.

```
python3 -m mypy --strict ./clang-tools-extra/clang-tidy/add_new_check.py
```

https://github.com/llvm/llvm-project/pull/107850
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to