mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 04:07:16 +03:00
60a9609b9a
* Updated all str.format(…) to f-strings This revamps the PR #984 * Pass black * Fix flake8 * Updated objecttype * Fix black version
29 lines
679 B
YAML
29 lines
679 B
YAML
repos:
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.1.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
|
|
rev: v1.12.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
- repo: https://github.com/ambv/black
|
|
rev: 19.10b0
|
|
hooks:
|
|
- id: black
|
|
language_version: python3
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 3.7.8
|
|
hooks:
|
|
- id: flake8
|