mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
run mypy local
This commit is contained in:
@ -43,11 +43,14 @@ repos:
|
||||
- id: mdformat
|
||||
additional_dependencies:
|
||||
- mdformat-gfm
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.5.1
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: mypy
|
||||
exclude: tests/
|
||||
- id: mypy-local
|
||||
name: run mypy with all dev dependencies present
|
||||
entry: python -m mypy -p <MODULE_NAME>
|
||||
language: system
|
||||
always_run: true
|
||||
pass_filenames: false
|
||||
- repo: https://github.com/PrincetonUniversity/blocklint
|
||||
rev: v0.2.5
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user