From 6096aa365ddc05be8fd80a399694c3da7ae28499 Mon Sep 17 00:00:00 2001 From: stubsabot <> Date: Mon, 7 Sep 2026 00:25:35 +0000 Subject: [PATCH] [stubsabot] Remove binaryornot as ships py.typed file Typeshed release: https://pypi.org/pypi/types-binaryornot Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/binaryornot --- stubs/binaryornot/@tests/stubtest_allowlist.txt | 1 - stubs/binaryornot/METADATA.toml | 3 --- stubs/binaryornot/binaryornot/__init__.pyi | 5 ----- stubs/binaryornot/binaryornot/check.pyi | 3 --- stubs/binaryornot/binaryornot/helpers.pyi | 5 ----- 5 files changed, 17 deletions(-) delete mode 100644 stubs/binaryornot/@tests/stubtest_allowlist.txt delete mode 100644 stubs/binaryornot/METADATA.toml delete mode 100644 stubs/binaryornot/binaryornot/__init__.pyi delete mode 100644 stubs/binaryornot/binaryornot/check.pyi delete mode 100644 stubs/binaryornot/binaryornot/helpers.pyi diff --git a/stubs/binaryornot/@tests/stubtest_allowlist.txt b/stubs/binaryornot/@tests/stubtest_allowlist.txt deleted file mode 100644 index 742a3bb53e80..000000000000 --- a/stubs/binaryornot/@tests/stubtest_allowlist.txt +++ /dev/null @@ -1 +0,0 @@ -binaryornot\..+?\.logger diff --git a/stubs/binaryornot/METADATA.toml b/stubs/binaryornot/METADATA.toml deleted file mode 100644 index 431cf6be18ef..000000000000 --- a/stubs/binaryornot/METADATA.toml +++ /dev/null @@ -1,3 +0,0 @@ -version = "0.4.*" -upstream-repository = "https://github.com/binaryornot/binaryornot" -obsolete-since = { version = "0.5.0", date = "2026-03-07" } diff --git a/stubs/binaryornot/binaryornot/__init__.pyi b/stubs/binaryornot/binaryornot/__init__.pyi deleted file mode 100644 index 4c304c608dbc..000000000000 --- a/stubs/binaryornot/binaryornot/__init__.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from typing import Final - -__author__: Final[str] -__email__: Final[str] -__version__: Final[str] diff --git a/stubs/binaryornot/binaryornot/check.pyi b/stubs/binaryornot/binaryornot/check.pyi deleted file mode 100644 index 8ebb58019b10..000000000000 --- a/stubs/binaryornot/binaryornot/check.pyi +++ /dev/null @@ -1,3 +0,0 @@ -from _typeshed import StrOrBytesPath - -def is_binary(filename: StrOrBytesPath) -> bool: ... diff --git a/stubs/binaryornot/binaryornot/helpers.pyi b/stubs/binaryornot/binaryornot/helpers.pyi deleted file mode 100644 index 4534c3ffe99c..000000000000 --- a/stubs/binaryornot/binaryornot/helpers.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from _typeshed import StrOrBytesPath - -def print_as_hex(s: str) -> None: ... -def get_starting_chunk(filename: StrOrBytesPath, length: int = 1024) -> bytes: ... -def is_binary_string(bytes_to_check: bytes | bytearray) -> bool: ...