diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f496387405f44a0edb573639efba0d71dda12e6..eb54a8be4a9cfcdcccc5d7170d5368ffa0fd39c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: environment: Env1 strategy: matrix: - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] + python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9" ] steps: - uses: actions/checkout@main - uses: actions/setup-python@main diff --git a/satella/coding/transforms/misc.py b/satella/coding/transforms/misc.py index a64282be8e6d6f81a59b629962d91991c7260578..b29213f0131d4c6ed715634d54baf2936fda6bc0 100644 --- a/satella/coding/transforms/misc.py +++ b/satella/coding/transforms/misc.py @@ -3,7 +3,7 @@ import typing as tp from satella.coding.typing import V -def list_values_to_indices(lst: tp.List[V]) -> dict[V, int]: +def list_values_to_indices(lst: tp.List[V]) -> tp.Dict[V, int]: """ Transform a list of entries into a dict mapping where given entry can be found.