Skip to content

Commit 2d0299f

Browse files
committed
Update dependencies
1 parent 79af8ab commit 2d0299f

File tree

5 files changed

+111
-101
lines changed

5 files changed

+111
-101
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ python:
1010
install:
1111
- pip install pipenv black
1212
- pipenv install --dev
13+
- pip install python-coveralls
1314

1415
script:
1516
- flake8 --version

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ pytest-asyncio = "*"
1414
tox = "*"
1515
sphinx = "*"
1616
sphinx_rtd_theme = "*"
17-
python-coveralls = "*"
17+
# python-coveralls = "*"
1818
pytest-cov = "*"
1919

Pipfile.lock

Lines changed: 104 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graphql/type/schema.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,12 @@ def type_map_directive_reducer(
225225
# Directives are not validated until validate_schema() is called.
226226
if not is_directive(directive):
227227
return map_
228+
directive = cast(GraphQLDirective, directive)
228229
return reduce(
229230
lambda prev_map, arg: type_map_reducer(prev_map, arg.type), # type: ignore
230231
directive.args.values(),
231232
map_,
232-
) # type: ignore
233+
)
233234

234235

235236
# Reduce functions for type maps:

tests/execution/test_variables.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ def properly_parses_single_value_to_list():
139139
result = execute_query(
140140
"""
141141
{
142-
fieldWithObjectInput(
143-
input: {a: "foo", b: "bar", c: "baz"})
142+
fieldWithObjectInput(input: {a: "foo", b: "bar", c: "baz"})
144143
}
145144
"""
146145
)
@@ -207,8 +206,7 @@ def properly_runs_parse_literal_on_complex_scalar_types():
207206
result = execute_query(
208207
"""
209208
{
210-
fieldWithObjectInput(
211-
input: {c: "foo", d: "SerializedValue"})
209+
fieldWithObjectInput(input: {c: "foo", d: "SerializedValue"})
212210
}
213211
"""
214212
)
@@ -222,7 +220,7 @@ def describe_using_variables():
222220
doc = """
223221
query ($input: TestInputObject) {
224222
fieldWithObjectInput(input: $input)
225-
}
223+
}
226224
"""
227225

228226
def executes_with_complex_input():

0 commit comments

Comments
 (0)