From 79d331286f9c9d889e224d87d1cc590df9ceda79 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Thu, 20 Oct 2022 11:37:42 +0300 Subject: [PATCH] Mark `python-crontab` as completed (#8938) --- stubs/python-crontab/@tests/stubtest_allowlist.txt | 2 ++ stubs/python-crontab/METADATA.toml | 3 +++ stubs/python-crontab/cronlog.pyi | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 stubs/python-crontab/@tests/stubtest_allowlist.txt diff --git a/stubs/python-crontab/@tests/stubtest_allowlist.txt b/stubs/python-crontab/@tests/stubtest_allowlist.txt new file mode 100644 index 000000000..b0c2ba730 --- /dev/null +++ b/stubs/python-crontab/@tests/stubtest_allowlist.txt @@ -0,0 +1,2 @@ +# Re-export: +crontabs.X_OK diff --git a/stubs/python-crontab/METADATA.toml b/stubs/python-crontab/METADATA.toml index 3beeb9fca..67d74ecf4 100644 --- a/stubs/python-crontab/METADATA.toml +++ b/stubs/python-crontab/METADATA.toml @@ -1 +1,4 @@ version = "2.6.*" + +[tool.stubtest] +ignore_missing_stub = false diff --git a/stubs/python-crontab/cronlog.pyi b/stubs/python-crontab/cronlog.pyi index 3faad0b0f..91cee9bf7 100644 --- a/stubs/python-crontab/cronlog.pyi +++ b/stubs/python-crontab/cronlog.pyi @@ -2,7 +2,9 @@ from _typeshed import Self, StrOrBytesPath from codecs import StreamReaderWriter from collections.abc import Generator, Iterator from types import TracebackType +from typing_extensions import Literal +PY3: Literal[True] MATCHER: str class LogReader: