CI: add lints

This commit is contained in:
Guilhem Saurel 2021-07-13 11:13:56 +02:00
commit c5b7ea19ce
3 changed files with 14 additions and 5 deletions

View file

@ -14,10 +14,11 @@ repos:
- id: flake8
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.29.0
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: yapf
- id: black
language_version: python3
- repo: https://github.com/PyCQA/pydocstyle
rev: 5.0.1
hooks: