| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.3.0
- hooks:
- - id: check-yaml
- - id: end-of-file-fixer
- - id: trailing-whitespace
- - id: check-case-conflict
- - id: check-ast
- - id: check-added-large-files
- args: ["--maxkb=1000"]
- - repo: https://github.com/psf/black
- rev: 22.8.0
- hooks:
- - id: black
- - repo: https://github.com/pre-commit/mirrors-prettier
- rev: v2.7.1
- hooks:
- - id: prettier
- - repo: https://github.com/pycqa/isort
- rev: 5.10.1
- hooks:
- - id: isort
- name: isort (python)
- - 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.971
- hooks:
- - id: mypy
- 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: system
- always_run: true
- pass_filenames: false
- - id: run-tests
- name: Run tests
- entry: poetry run pytest
- language: system
- always_run: true
- pass_filenames: false
|