File: config.pyi

package info (click to toggle)
python-test-stages 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 300 kB
  • sloc: python: 792; sh: 24; makefile: 9
file content (27 lines) | stat: -rw-r--r-- 551 bytes parent folder | download
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
# SPDX-FileCopyrightText: Peter Pentchev <roam@ringlet.net>
# SPDX-License-Identifier: BSD-2-Clause

from collections.abc import Iterable
from typing import Any, Dict, List


class Parser:
    def add_testenv_attribute(
        self,
        name: str,
        type: str,
        help: str,
        default: Any = None,
        postprocess: Any = None,
    ) -> None: ...


class TestenvConfig:
    tags: List[str]


class Config:
    envconfigs: Dict[str, TestenvConfig]


def parseconfig(args: List[str], plugins: Iterable[str] = ()) -> Config: ...