Skip to content

Commit

Permalink
buck2/prelude: use old type hints in make_comp_db.py
Browse files Browse the repository at this point in the history
Differential Revision: D63254427

fbshipit-source-id: 35ddf5bd8702aa3908d0b9d36748f2d7d5925651
  • Loading branch information
KapJI authored and facebook-github-bot committed Sep 23, 2024
1 parent bef74cf commit 5430f48
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prelude/cxx/tools/make_comp_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
import json
import shlex
import sys
from typing import List


def process_arguments(arguments: list[str]) -> list[str]:
def process_arguments(arguments: List[str]) -> List[str]:
"""
Process arguments to expand argsfiles.
"""
Expand Down Expand Up @@ -77,7 +78,7 @@ def merge(args: argparse.Namespace) -> None:
args.output.close()


def main(argv: list[str]) -> int:
def main(argv: List[str]) -> int:
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()

Expand Down

0 comments on commit 5430f48

Please sign in to comment.