Skip to content

Commit

Permalink
setup: Fix list type hint on Python < 3.9 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
UndefinedIdentifier authored May 31, 2024
1 parent b7fb1a0 commit a803c06
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 @@ -2,7 +2,7 @@
import shutil
import sys
from pathlib import Path
from typing import Iterator
from typing import Iterator, List

from setuptools import setup

Expand Down Expand Up @@ -96,7 +96,7 @@ def detect_version() -> str:
return version


def fetch_built_agents() -> list[str]:
def fetch_built_agents() -> List[str]:
agents = []
if in_source_package:
agents += [f.name for f in (SOURCE_ROOT / "frida_tools").glob("*_agent.js")]
Expand Down

0 comments on commit a803c06

Please sign in to comment.