Replace dict calls for literals (#4784)

* Replace dict calls for literals

* Pin flake8-comprehensions version to 3.3.0
This commit is contained in:
Tomás Farías Santana
2020-10-25 19:51:22 +02:00
committed by GitHub
parent 831e85682e
commit f8ba5daae2
6 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ from dvc.command.diff import _digest, _show_md
"checksum, expected",
[
("wxyz1234pq", "wxyz1234"),
(dict(old="1234567890", new="0987654321"), "12345678..09876543"),
({"old": "1234567890", "new": "0987654321"}, "12345678..09876543"),
],
ids=["str", "dict"],
)