mev-inspect-py/.pre-commit-config.yaml

30 lines
699 B
YAML

repos:
- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
- id: black
language_version: python3.9
- repo: local
hooks:
- id: isort
name: isort
entry: poetry run isort .
language: system
types: [python]
- repo: local
hooks:
- id: pylint
name: pylint
entry: poetry run pylint
args: ['--rcfile=.pylintrc', --disable=redefined-builtin]
language: system
types: [python]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
hooks:
- id: 'mypy'
language_version: python3.9
additional_dependencies:
- 'pydantic'
- 'types-requests'