python-sdk/.pre-commit-config.yaml

28 lines
683 B
YAML

default_stages: [ commit ]
repos:
- repo: https://github.com/pycqa/isort
rev: 5.9.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
language_version: python3.9
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: trailing-whitespace
- id: check-merge-conflict
- id: debug-statements
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies: [ "flake8-print", "flake8-builtins", "flake8-functions==0.0.4" ]