-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path_config.pyi
More file actions
33 lines (27 loc) · 887 Bytes
/
_config.pyi
File metadata and controls
33 lines (27 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File generated with docstub
import dataclasses
import logging
import tomllib
from collections.abc import Mapping
from pathlib import Path
from pprint import pformat
from typing import ClassVar, Self
logger: logging.Logger
@dataclasses.dataclass(frozen=True, slots=True, kw_only=True)
class Config:
TEMPLATE_PATH: ClassVar[Path]
NUMPY_PATH: ClassVar[Path]
types: dict[str, str] = ...
type_prefixes: dict[str, str] = ...
type_nicknames: dict[str, str] = ...
ignore_files: list[str] = ...
config_paths: tuple[Path, ...] = ...
@classmethod
def from_toml(cls, path: Path | str) -> Self: ...
def merge(self, other: Self) -> Self: ...
def to_dict(self) -> None: ...
def __post_init__(self) -> None: ...
def __repr__(self) -> str: ...
def __str__(self) -> str: ...
@staticmethod
def validate(mapping: Mapping) -> None: ...