Azure mypy related tweaks (#25663)

* Revert "Add some debugging to azure mypy job (#25632)"

This reverts commit 767b8e9f25.

No longer needed.

* Install setup.py dependencies for mypy in Azure

For better coverage, and to match what tox does.
This commit is contained in:
Ville Skyttä authored and Pascal Vizeli committed 2019-08-02 16:59:47 +02:00
1 parent 0c561aec4f
commit a2f9a5287d
2 files changed
+3 -5

No files matched your search

+2 -1
View File
@@ -88,7 +88,8 @@ def load_yaml(fname: str, round_trip: bool = False) -> JSON_TYPE:
"""Load a YAML file."""
if round_trip:
yaml = YAML(typ="rt")
yaml.preserve_quotes = True
# type ignore: https://bitbucket.org/ruamel/yaml/pull-requests/42
yaml.preserve_quotes = True # type: ignore
else:
if ExtSafeConstructor.name is None:
ExtSafeConstructor.name = fname