From 8b422ff01d36aacdd9da9d014fb0949aab5ce1a9 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 25 Jun 2022 12:39:25 +0530 Subject: [PATCH] appdirs, tabulate, termcolor, xmltodict: check missing defs (#8156) complete termcolor, xmltodict --- stubs/appdirs/METADATA.toml | 3 +++ stubs/tabulate/METADATA.toml | 3 +++ stubs/termcolor/METADATA.toml | 3 +++ stubs/termcolor/termcolor.pyi | 2 ++ stubs/xmltodict/METADATA.toml | 3 +++ stubs/xmltodict/xmltodict.pyi | 2 ++ 6 files changed, 16 insertions(+) diff --git a/stubs/appdirs/METADATA.toml b/stubs/appdirs/METADATA.toml index 6d3b92238..3a60aff54 100644 --- a/stubs/appdirs/METADATA.toml +++ b/stubs/appdirs/METADATA.toml @@ -1 +1,4 @@ version = "1.4.*" + +[tool.stubtest] +ignore_missing_stub = false diff --git a/stubs/tabulate/METADATA.toml b/stubs/tabulate/METADATA.toml index 29511ee7d..54042496d 100644 --- a/stubs/tabulate/METADATA.toml +++ b/stubs/tabulate/METADATA.toml @@ -1 +1,4 @@ version = "0.8.*" + +[tool.stubtest] +ignore_missing_stub = false diff --git a/stubs/termcolor/METADATA.toml b/stubs/termcolor/METADATA.toml index c9f594bd7..3706c3339 100644 --- a/stubs/termcolor/METADATA.toml +++ b/stubs/termcolor/METADATA.toml @@ -1 +1,4 @@ version = "1.1.*" + +[tool.stubtest] +ignore_missing_stub = false diff --git a/stubs/termcolor/termcolor.pyi b/stubs/termcolor/termcolor.pyi index 1d25597b0..71350db55 100644 --- a/stubs/termcolor/termcolor.pyi +++ b/stubs/termcolor/termcolor.pyi @@ -1,6 +1,8 @@ from collections.abc import Iterable from typing import Any +__ALL__: list[str] +VERSION: tuple[int, ...] ATTRIBUTES: dict[str, int] COLORS: dict[str, int] HIGHLIGHTS: dict[str, int] diff --git a/stubs/xmltodict/METADATA.toml b/stubs/xmltodict/METADATA.toml index 050b0f8be..e2008db29 100644 --- a/stubs/xmltodict/METADATA.toml +++ b/stubs/xmltodict/METADATA.toml @@ -1 +1,4 @@ version = "0.12.*" + +[tool.stubtest] +ignore_missing_stub = false diff --git a/stubs/xmltodict/xmltodict.pyi b/stubs/xmltodict/xmltodict.pyi index 9d310957a..09a9e8119 100644 --- a/stubs/xmltodict/xmltodict.pyi +++ b/stubs/xmltodict/xmltodict.pyi @@ -3,6 +3,8 @@ from collections import OrderedDict from collections.abc import Mapping from typing import Any, overload +__license__: str + class ParsingInterrupted(Exception): ... def parse(