pyright/client
2019-08-16 22:54:17 -07:00
..
images Updated logo and added icon for VS Code extension. 2019-03-21 20:00:47 -07:00
schemas Implemented new "reportUnnecessaryIsInstance" check, which reports cases where isinstance is used where it's possible to determine that the result is always true or false. 2019-08-10 00:00:18 -07:00
src Added new setting "pyright.disableLanguageServices" in VS Code extension for disabling language service features. 2019-08-16 22:51:50 -07:00
typeshed-fallback Fixed TypeVar definition in fallback typeshed 'pathlib.pyi'. It was using a string literal in a TypeVar declaration. 2019-08-09 15:14:54 -07:00
CHANGELOG.md Added README and CHANGELOG to client folder so they appear in VS Code extensions panel. 2019-04-19 23:53:50 -07:00
package-lock.json Published 1.0.56 2019-08-16 22:54:17 -07:00
package.json Published 1.0.56 2019-08-16 22:54:17 -07:00
README.md Fixed grammatical error in readme and instructions. 2019-07-20 10:33:29 -07:00
tsconfig.json Initial checkin. 2019-03-11 20:45:56 -07:00

Static type checker for Python

Speed

Pyright is a fast type checker meant for large Python source bases. It can run in a “watch” mode and performs fast incremental updates when files are modified.

No Dependency on Python Environment

Pyright does not require a Python environment or imported third-party packages to be installed.

Configurability

Pyright supports configuration files that provide granular control over settings. Different “execution environments” can be associated with subdirectories within a source base. Each environment can specify different module search paths, python language versions, and platform targets.

Type Checking Features

Pyright supports:

  • PEP 484 type hints including generics
  • PEP 526 syntax for variable annotations
  • PEP 544 structural subtyping
  • Type inference for function return values, instance variables, class variables, and globals
  • Smart type constraints that understand conditional code flow constructs like if/else statements

Built-in Type Stubs

Pyright includes a recent copy of the stdlib type stubs from Typeshed. It can be configured to use another (perhaps more recent or modified) copy of the Typeshed type stubs. Of course, it also works with custom type stub files that are part of your project.

For more details, refer to the README on the Pyright GitHub site.