mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-22 13:59:51 +03:00
Remove dataclasses backport
This commit is contained in:
parent
c2f2685f7a
commit
e7b0a6a2f9
|
@ -1,31 +1,32 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v3.4.0
|
rev: v3.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: check-json
|
- id: check-json
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: ^docs/.*$
|
exclude: ^docs/.*$
|
||||||
- id: pretty-format-json
|
- id: pretty-format-json
|
||||||
args:
|
args:
|
||||||
- --autofix
|
- --autofix
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
exclude: README.md
|
exclude: README.md
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.9.0
|
rev: v2.9.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 20.8b1
|
rev: 20.8b1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/PyCQA/flake8
|
language_version: python3
|
||||||
rev: 3.8.4
|
- repo: https://github.com/PyCQA/flake8
|
||||||
hooks:
|
rev: 3.8.4
|
||||||
- id: flake8
|
hooks:
|
||||||
- repo: https://github.com/pycqa/isort
|
- id: flake8
|
||||||
rev: 5.6.4
|
- repo: https://github.com/pycqa/isort
|
||||||
hooks:
|
rev: 5.6.4
|
||||||
- id: isort
|
hooks:
|
||||||
|
- id: isort
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,9 +1,9 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
exclude = setup.py,docs/*,*/examples/*,graphene/pyutils/*,tests
|
exclude = setup.py,docs/*,*/examples/*,tests
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
|
|
||||||
[coverage:run]
|
[coverage:run]
|
||||||
omit = graphene/pyutils/*,*/tests/*,graphene/types/scalars.py
|
omit = */tests/*,graphene/types/scalars.py
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
profile = black
|
profile = black
|
||||||
|
@ -12,9 +12,6 @@ known_first_party=graphene
|
||||||
[mypy]
|
[mypy]
|
||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
|
|
||||||
[mypy-graphene.pyutils.*]
|
|
||||||
ignore_errors = True
|
|
||||||
|
|
||||||
[mypy-graphene.types.scalars]
|
[mypy-graphene.types.scalars]
|
||||||
ignore_errors = True
|
ignore_errors = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user