Skip to content

Commit

Permalink
ifx: subscriptable types for type hint not available in 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Dec 7, 2023
1 parent 8db2173 commit 8ec8aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# standard library
from pathlib import Path
from typing import Union
from typing import List, Union

# 3rd party
from setuptools import find_packages, setup
Expand All @@ -26,7 +26,7 @@
# ##################################


def load_requirements(requirements_files: Union[Path, list[Path]]) -> list:
def load_requirements(requirements_files: Union[Path, List[Path]]) -> list:
"""Helper to load requirements list from a path or a list of paths.
Args:
Expand Down

0 comments on commit 8ec8aa3

Please sign in to comment.