mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-13 05:06:47 +03:00
694c1db21e
* Vendor DataLoader from aiodataloader and also move get_event_loop behavior from `__init__` to a property which only gets resolved when actually needed (this will solve PyTest-related to early get_event_loop() issues) * Added DataLoader's specific tests * plug `loop` parameter into `self._loop`, so that we still have the ability to pass in a custom event loop, if needed. Co-authored-by: Erik Wrede <erikwrede2@gmail.com>
17 lines
397 B
INI
17 lines
397 B
INI
[flake8]
|
|
exclude = setup.py,docs/*,*/examples/*,graphene/pyutils/*,tests
|
|
max-line-length = 120
|
|
|
|
# This is a specific ignore for Black+Flake8
|
|
# source: https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#id1
|
|
extend-ignore = E203
|
|
|
|
[coverage:run]
|
|
omit = graphene/pyutils/*,*/tests/*,graphene/types/scalars.py
|
|
|
|
[isort]
|
|
known_first_party=graphene
|
|
|
|
[bdist_wheel]
|
|
universal=1
|