chore: stricter mypy checking

This commit is contained in:
Henry Fredrick Schreiner
2021-06-12 14:02:06 -04:00
parent 3311a36e65
commit 0aac8c2221
6 changed files with 27 additions and 28 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ def test_compare_configs():
dict_txt = toml.loads(txt)
new_txt = toml.dumps(dict_txt, encoder=InlineArrayDictEncoder())
new_txt = toml.dumps(dict_txt, encoder=InlineArrayDictEncoder()) # type: ignore
print(new_txt)
assert new_txt == txt
@@ -35,6 +35,6 @@ python_configurations = [
]
"""
output = toml.dumps(example, encoder=InlineArrayDictEncoder())
output = toml.dumps(example, encoder=InlineArrayDictEncoder()) # type: ignore
print(output)
assert output == result
+1
View File
@@ -63,6 +63,7 @@ def test_container_removed():
stdout=subprocess.PIPE,
universal_newlines=True,
).stdout
assert container.name is not None
assert container.name in docker_containers_listing
old_container_name = container.name