type: ignore[...]
silences all errors
#330
Labels
config
issues relating to config (pyproject.toml, pyrightconfig.json, LSP config or vscode extension)
type checking
Using this code as an example (verified on basedpyright.com):
There is an
reportUnusedCallResult
andreportCallIssue
on line 2.Attaching
# pyright: ignore[reportCallIssue]
, the remainingreportUnusedCallResult
is still identified, as expected.However,
# type: ignore[reportCallIssue]
will silence all errors. Is this intended? The README suggests it is not:The text was updated successfully, but these errors were encountered: