compose-viz/.pre-commit-config.yaml

39 lines
933 B
YAML
Raw Normal View History

2022-05-18 17:07:30 +02:00
exclude: |
(?x)^(
README.md|
2022-05-18 18:34:26 +02:00
LICENSE|
2022-05-25 11:16:10 +02:00
tests/ymls/others/
2022-05-18 17:07:30 +02:00
)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
args:
- "--max-line-length=120"
- repo: https://github.com/pycqa/isort
2023-05-03 19:22:57 +02:00
rev: 5.12.0
2022-05-18 17:07:30 +02:00
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
args: # arguments to configure black
- --line-length=120
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: node
pass_filenames: false
types: [python]
additional_dependencies: ['pyright@1.1.247']