./devel/py-pytype, Static type analyzer for Python code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2024.9.13, Package name: py312-pytype-2024.9.13, Maintainer: pkgsrc-users

Pytype checks and infers types for your Python code - without
requiring type annotations. Pytype can:

* Lint plain Python code, flagging common mistakes such as misspelled
attribute names, incorrect function calls, and much more, even
across file boundaries.
* Enforce user-provided type annotations. While annotations are
optional for pytype, it will check and apply them where present.
* Generate type annotations in standalone files ("pyi files"),
which can be merged back into the Python source with a provided
merge-pyi tool.

Pytype is a static analyzer; it does not execute the code it runs
on.


Master sites:

Filesize: 2722.147 KB

Version history: (Expand)