Skip to content

Mypy hook for the pre-commit

Notifications You must be signed in to change notification settings

doordash/pre-commit-mypy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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

  • Python 100.0%