1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12

content / test / gpu / gold_inexact_matching / common_typing.py [blame]

# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Helper module to store file-independent, common type hinting."""

import argparse
import typing

CmdArgParser = argparse.ArgumentParser
ParsedCmdArgs = argparse.Namespace
ArgumentGroup = 'argparse._ArgumentGroup'
ArgumentGroupTuple = typing.Tuple[ArgumentGroup, ArgumentGroup, ArgumentGroup]