Skip to content

gvanrossum/pytype

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytype is a static type inferencer for Python code.

License

Apache 2.0

Motivation

Why type inferencing?

With PEP 484, there's now an official standard for adding type declarations to Python code. This project aims to help you annotate your source files and to provide automatic static type-checking for your code.

How to get started

You currently need Python 2.7 to run pytype. (It can analyze Python 3, though)

git clone https://github.com/google/pytype.git
git submodule init
git submodule update
python setup.py install
pip install pyyaml
pip install ply
pytype your_python_code.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.0%
  • C++ 9.8%
  • Other 1.2%