mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 07:55:56 +03:00
Clarified in documentation that no_type_check
is not supported.
This commit is contained in:
parent
c767228a82
commit
0a67c65bef
@ -29,6 +29,8 @@ By default, pyright performs type checking for all code regardless of whether it
|
||||
|
||||
By default, mypy skips all functions or methods that do not have type annotations. This is a common source of confusion for mypy users who are surprised when type violations in unannotated functions go unreported. If the option `--check-untyped-defs` is enabled, mypy performs type checking for all functions and methods.
|
||||
|
||||
Mypy supports the `typing.no_type_check` decorator. This decorator does not make sense for language servers, so it is ignored by pyright.
|
||||
|
||||
|
||||
### Inferred Return Types
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user