Skip to content

d1ff/pre-commit-mypy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mypy mirror

Mirror of mypy package for pre-commit

For pre-commit: see https://github.com/pre-commit/pre-commit

For mypy: see http://mypy.readthedocs.io/en/latest/index.html

Using mypy with pre-commit

Add this to your .pre-commit-config.yaml:

-   repo: git://github.com/d1ff/pre-commit-mypy
    sha: ''  # Use the sha / tag you want to point at
    hooks:
    -   id: mypy

By default it uses --check-untyped-defs option with --silent-imports. You may override it with args property of the hook in your config.

About

Mypy hook for the pre-commit

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages