Skip to content

Commit

Permalink
Fix mypy check
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Jun 4, 2022
1 parent 7925983 commit 79e2f50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion scripts/smoke.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ tox -c tox.ini \
-e py${PYVER} \
-e py${PYVER}-pytest6 \
-e py${PYVER}black \
-e py${PYVER}lint
-e py${PYVER}lint \
-e py${PYVER}mypy

tox -c tox-integration.ini \
-e py${PYVER}-generic \
Expand Down
4 changes: 2 additions & 2 deletions tavern/util/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ def construct_yaml_seq(self, node):
return list_node(obj, node.start_mark, node.end_mark)


SourceMappingConstructor.add_constructor(
SourceMappingConstructor.add_constructor( # type: ignore
"tag:yaml.org,2002:map", SourceMappingConstructor.construct_yaml_map
)

SourceMappingConstructor.add_constructor(
SourceMappingConstructor.add_constructor( # type: ignore
"tag:yaml.org,2002:seq", SourceMappingConstructor.construct_yaml_seq
)

Expand Down

0 comments on commit 79e2f50

Please sign in to comment.