graphene-django/graphene_django/rest_framework
Nikolai Røed Kristiansen 4517e32224
👷 Add pre-commit (#1336)
* 🔧 Add pre-commit config

Similar to graphene and graphene-sqlalchemy

* ⬆ Bump black

* 👷 Lint on CI

* ⬆ Bump flake8-black

* 🔧 Keep excluding migrations

* ⬆ Bump flake8

* 🔧 Remove black and flake8 from tox config

* ⬆ Update pre-commit versions

* Upgrade syntax to python 3.7+

* Format with pre-commit

dedent docs/schema.py to allow formatting

* Fix tests on python 3.7
2022-10-19 17:10:30 +03:00
..
tests Convert DecimalField to Decimal instead of Float in DRF and form converters (#1277) 2022-01-18 17:03:08 +03:00
__init__.py Initial implementation of serializer field converter 2017-06-26 09:19:49 +01:00
models.py use to_representation in favor of get_attribute (#848) 2020-02-21 17:42:47 +00:00
mutation.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
serializer_converter.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
types.py Fix duplicated ErrorType declaration (#539) 2019-03-31 12:01:43 +01:00