Remove dataclasses backport

This commit is contained in:
Kumar Aditya 2021-02-03 14:18:49 +05:30
parent c2f2685f7a
commit e7b0a6a2f9
No known key found for this signature in database
GPG Key ID: B26DEFB517433892
4 changed files with 33 additions and 1297 deletions

View File

@ -1,31 +1,32 @@
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v3.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: v2.9.0
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v3.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: v2.9.0
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
[flake8]
exclude = setup.py,docs/*,*/examples/*,graphene/pyutils/*,tests
exclude = setup.py,docs/*,*/examples/*,tests
max-line-length = 120
[coverage:run]
omit = graphene/pyutils/*,*/tests/*,graphene/types/scalars.py
omit = */tests/*,graphene/types/scalars.py
[isort]
profile = black
@ -12,9 +12,6 @@ known_first_party=graphene
[mypy]
ignore_missing_imports = True
[mypy-graphene.pyutils.*]
ignore_errors = True
[mypy-graphene.types.scalars]
ignore_errors = True