Skip to content

Commit

Permalink
Multiple fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Sep 18, 2018
1 parent 3ae7370 commit b2167a5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[flake8]
ignore = E203,W503,E704
exclude = .git,.mypy_cache,.pytest_cache,.tox,.venv,__pycache__,build,dist,docs
max-line-length = 88
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ python:
- 3.7

install:
- pip install pipenv
- pip install pipenv black
- pipenv install --dev

script:
Expand Down
3 changes: 2 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ name = "pypi"

[dev-packages]
graphql-core-next = {path = ".", editable = true}
black = "*"
# Line below commented as causes issues with Pipenv
# black = "18.6b4"
flake8 = "*"
mypy = "*"
pytest = "*"
Expand Down
3 changes: 1 addition & 2 deletions graphql/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
from typing import Any, Awaitable, Callable, Dict, Union, Type, cast

from .error import GraphQLError
from .execution import execute, ExecutionResult, Middleware
from .execution import execute, ExecutionResult, ExecutionContext, Middleware
from .language import parse, Source
from .pyutils import MaybeAwaitable
from .type import GraphQLSchema, validate_schema
from .execution.execute import ExecutionResult, ExecutionContext

__all__ = ["graphql", "graphql_sync"]

Expand Down

0 comments on commit b2167a5

Please sign in to comment.