mev-inspect-py/.pre-commit-config.yaml
2022-04-09 00:30:43 +01:00

29 lines
663 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'
additional_dependencies:
- 'pydantic'
- 'types-requests'