|
|
@@ -26,11 +26,11 @@ repos:
|
|
|
- id: isort
|
|
|
name: isort (python)
|
|
|
|
|
|
- # - repo: https://github.com/PyCQA/pydocstyle
|
|
|
- # rev: 6.1.1
|
|
|
- # hooks:
|
|
|
- # - id: pydocstyle
|
|
|
- # name: pydocstyle
|
|
|
+ - repo: https://github.com/PyCQA/pydocstyle
|
|
|
+ rev: 6.1.1
|
|
|
+ hooks:
|
|
|
+ - id: pydocstyle
|
|
|
+ name: pydocstyle
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
rev: v0.920
|
|
|
@@ -39,19 +39,23 @@ repos:
|
|
|
name: mypy
|
|
|
additional_dependencies: ["requests"]
|
|
|
|
|
|
+ - repo: https://github.com/pycqa/pylint
|
|
|
+ rev: v2.15.3
|
|
|
+ hooks:
|
|
|
+ - id: pylint
|
|
|
+ types: [python]
|
|
|
+
|
|
|
- repo: local
|
|
|
hooks:
|
|
|
- id: poetry-install
|
|
|
name: Install project deps
|
|
|
entry: poetry install
|
|
|
- language: python
|
|
|
- additional_dependencies: [pre-commit, poetry]
|
|
|
+ language: system
|
|
|
always_run: true
|
|
|
pass_filenames: false
|
|
|
- id: run-tests
|
|
|
name: Run tests
|
|
|
entry: poetry run pytest
|
|
|
- language: python
|
|
|
- additional_dependencies: [pre-commit, poetry]
|
|
|
+ language: system
|
|
|
always_run: true
|
|
|
pass_filenames: false
|