Skip to content

Commit b2167a5

Browse files
committed
Multiple fixes
1 parent 3ae7370 commit b2167a5

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[flake8]
2+
ignore = E203,W503,E704
23
exclude = .git,.mypy_cache,.pytest_cache,.tox,.venv,__pycache__,build,dist,docs
34
max-line-length = 88

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ python:
88
- 3.7
99

1010
install:
11-
- pip install pipenv
11+
- pip install pipenv black
1212
- pipenv install --dev
1313

1414
script:

Pipfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ name = "pypi"
55

66
[dev-packages]
77
graphql-core-next = {path = ".", editable = true}
8-
black = "*"
8+
# Line below commented as causes issues with Pipenv
9+
# black = "18.6b4"
910
flake8 = "*"
1011
mypy = "*"
1112
pytest = "*"

graphql/graphql.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
from typing import Any, Awaitable, Callable, Dict, Union, Type, cast
44

55
from .error import GraphQLError
6-
from .execution import execute, ExecutionResult, Middleware
6+
from .execution import execute, ExecutionResult, ExecutionContext, Middleware
77
from .language import parse, Source
88
from .pyutils import MaybeAwaitable
99
from .type import GraphQLSchema, validate_schema
10-
from .execution.execute import ExecutionResult, ExecutionContext
1110

1211
__all__ = ["graphql", "graphql_sync"]
1312

0 commit comments

Comments
 (0)