45 lines
883 B
YAML
45 lines
883 B
YAML
exclude: |
|
|
(?x)(
|
|
^tests/unit_tests/resource|
|
|
_grpc.py|
|
|
_pb2.py
|
|
)
|
|
|
|
default_language_version:
|
|
python: python3.10
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-case-conflict
|
|
- id: check-docstring-first
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: requirements-txt-fixer
|
|
|
|
- repo: https://github.com/timothycrosley/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/ambv/black
|
|
rev: 23.10.1
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 6.1.0
|
|
hooks:
|
|
- id: flake8
|
|
|
|
# - repo: https://github.com/python/mypy
|
|
# rev: v1.6.1
|
|
# hooks:
|
|
# - id: mypy
|