Skip to content

Commit

Permalink
Use typing.Dict instead of dict
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffseif committed Mar 13, 2024
1 parent b42fa14 commit 55747d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2744,7 +2744,7 @@ def test_when_merging_lockfiles_content_hashes_are_updated(
platforms=["linux-64"],
)

def get_content_hashes_for_lock_file(lock_file: Path) -> dict[str, str]:
def get_content_hashes_for_lock_file(lock_file: Path) -> typing.Dict[str, str]:
lock_file_dict = yaml.safe_load(lock_file.read_text())
return lock_file_dict["metadata"]["content_hash"]

Expand Down

0 comments on commit 55747d2

Please sign in to comment.