*Memo:
- mypy --strict test.py
- mypy 1.19.1
- Python 3.14
- Windows 11
Running mypy --strict, list with no type arguments gets the wrong error message with parameters instead of arguments as shown below:
error: Missing type parameters for generic type "list"
So, the error message should be with arguments instead of parameters as shown below:
error: Missing type arguments for generic type "list"
*Memo:
Running
mypy --strict,listwith no type arguments gets the wrong error message withparametersinstead ofargumentsas shown below:So, the error message should be with
argumentsinstead ofparametersas shown below: