Skip to content
Snippets Groups Projects
Commit cb571987 authored by Moul's avatar Moul
Browse files

[enh] #162: Introudce mypy pre-commit hook

Exclude 'docs' folder check when running:
pre-commit run mypy -a
parent 8103b704
Branches
Tags
2 merge requests!157v1.0.0rc0: merge dev into master,!136#135, #162: Introduce mypy, pylint, isort, gitlab-ci pre-commit hooks
...@@ -3,6 +3,11 @@ repos: ...@@ -3,6 +3,11 @@ repos:
rev: 21.5b0 rev: 21.5b0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
hooks:
- id: mypy
exclude: ^docs/
- repo: https://github.com/Lucas-C/pre-commit-hooks - repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10 rev: v1.1.10
hooks: hooks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment