Skip to content

DexaiRobotics/pre-commit-pytype

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit for pytype

Wrapper to enable pre-commit for pytypes

Usage:

In your .pre-commit-config.yaml include the following block.

-   repo: https://github.com/DexaiRobotics/pre-commit-pytype
    rev: '2020.05.13'
    hooks:
    -   id: pytype

If you use setup.cfg instead of -config=pytype.cfg to run pytype then you will also need to include a empty args attribute in the pytype hook (exmple below).

-   repo: https://github.com/DexaiRobotics/pre-commit-pytype
    rev: '2020.05.13'
    hooks:
    -   id: pytype
        args: []

About

Wrapper to enable pre-commit for pytypes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%