Source code for flakeheaven.parsers._base

# built-in
from pathlib import Path
from types import MappingProxyType
from typing import List, Mapping, Tuple


[docs]class BaseParser: ignore: Mapping[str, Tuple[str, ...]] = MappingProxyType({})
[docs] @staticmethod def parse(path: Path) -> List[str]: raise NotImplementedError