graphene/.pre-commit-config.yaml

31 lines
697 B
YAML
Raw Permalink Normal View History

2021-08-22 06:18:15 +03:00
default_language_version:
python: python3.10
2021-08-22 06:18:15 +03:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-08-19 09:20:51 +03:00
rev: v4.3.0
hooks:
- id: check-merge-conflict
- id: check-json
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude: ^docs/.*$
- id: pretty-format-json
args:
- --autofix
- id: trailing-whitespace
exclude: README.md
- repo: https://github.com/asottile/pyupgrade
2022-08-19 09:20:51 +03:00
rev: v2.37.3
hooks:
- id: pyupgrade
2022-08-19 09:20:51 +03:00
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
2021-08-21 18:23:58 +03:00
- id: black
- repo: https://github.com/PyCQA/flake8
2022-08-19 09:20:51 +03:00
rev: 5.0.4
hooks:
- id: flake8