Skip to content

Commit b4d1811

Browse files
committed
list dict tuple
1 parent 679ec48 commit b4d1811

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fuzz/build_fuzzers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import logging
2525
import json
2626
from pathlib import Path
27-
from typing import List, Optional, Tuple
27+
from typing import Optional
2828
from multiprocessing import Pool, cpu_count
2929

3030
class BuildError(Exception):
@@ -50,7 +50,7 @@ def run_command(
5050
cmd: str,
5151
oss_fuzz_dir: Path,
5252
project: str = "",
53-
allowed_exit_codes: Optional[List[int]] = None
53+
allowed_exit_codes: Optional[list[int]] = None
5454
) -> int:
5555
"""Execute a command and return the exit code"""
5656
allowed_exit_codes = allowed_exit_codes or [0]
@@ -92,7 +92,7 @@ def run_command(
9292
except subprocess.SubprocessError as e:
9393
raise CommandError(f"Subprocess error: {e}", project=project) from e
9494

95-
def build_fuzzers(project_name: str, sanitizer: str, oss_fuzz_dir: Path) -> Tuple[bool, str]:
95+
def build_fuzzers(project_name: str, sanitizer: str, oss_fuzz_dir: Path) -> tuple[bool, str]:
9696
"""Fuzzer build workflow"""
9797
try:
9898
logging.info("=" * 60)

0 commit comments

Comments
 (0)