graphene/.pre-commit-config.yaml

31 lines
689 B
YAML
Raw Normal View History

2021-08-22 06:18:15 +03:00
default_language_version:
python: python3.8
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
2021-08-21 17:51:46 +03:00
rev: v2.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
2021-08-21 19:03:00 +03:00
- repo: git://github.com/asottile/pyupgrade
2021-08-21 18:47:00 +03:00
rev: v2.24.0
hooks:
- id: pyupgrade
2021-08-21 19:03:00 +03:00
- repo: git://github.com/ambv/black
2021-08-21 17:51:46 +03:00
rev: 19.3b0
hooks:
2021-08-21 18:23:58 +03:00
- id: black
2021-08-21 19:03:00 +03:00
- repo: git://github.com/PyCQA/flake8
2021-08-21 16:07:44 +03:00
rev: 3.8.4
hooks:
- id: flake8