Use pre-commit for interrogate

This commit is contained in:
Hynek Schlawack 2020-08-25 12:37:54 +02:00
parent 3a5b5a2052
commit 1f67eefb4f
2 changed files with 7 additions and 2 deletions

View File

@ -26,6 +26,13 @@ repos:
- id: flake8
language_version: python3.8
- repo: https://github.com/econchick/interrogate
rev: 1.3.0
hooks:
- id: interrogate
args: [tests]
language_version: python3.8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:

View File

@ -73,11 +73,9 @@ basepython = python3.8
skip_install = true
deps =
pre-commit
interrogate>=1.3.0
passenv = HOMEPATH # needed on Windows
commands =
pre-commit run --all-files
interrogate
[testenv:docs]