mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
15 lines
494 B
Python
15 lines
494 B
Python
|
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||
|
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
|
||
|
|
||
|
"""A collection of typing utilities."""
|
||
|
from typing import TYPE_CHECKING, Dict, List, Union
|
||
|
|
||
|
if TYPE_CHECKING:
|
||
|
from typing import Counter # typing.Counter added in Python 3.6.1
|
||
|
|
||
|
|
||
|
# The base type of the "stats" attribute of a checker
|
||
|
CheckerStats = Dict[
|
||
|
str, Union[int, "Counter[str]", List, Dict[str, Union[int, str, Dict[str, int]]]]
|
||
|
]
|