$ pyright test.py
test.py
test.py:6:22 - error: Argument of type "Pattern[str]" cannot be assigned to parameter "pat" of type "str" in function "contains"
"Pattern[str]" is incompatible with "str" (reportArgumentType)
1 error, 0 warnings, 0 informations
Describe the bug A clear and concise description of what the bug is.
To Reproduce Code:
Running the code works fine and as expected:
Type checking we get an error:
Please complete the following information:
pyright 1.1.366
pandas-stubs
: 2.2.2.240807