mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-30 13:33:44 +03:00
8540a9332c
* Add support for Python 3.11 * Fix Python 3.11 compatibility matrix * Add temporary fix for default enum description --------- Co-authored-by: Firas Kafri <firaskafri@Firass-MacBook-Pro-2.local>
31 lines
723 B
YAML
31 lines
723 B
YAML
default_language_version:
|
|
python: python3.11
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.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: v3.3.2
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py37-plus]
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 6.0.0
|
|
hooks:
|
|
- id: flake8
|