From e7808617de014cdb0678fdb0acf8ce4bec422d4a Mon Sep 17 00:00:00 2001 From: jorenham Date: Tue, 17 Dec 2024 04:27:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20`version`:=201.15.0=20r?= =?UTF-8?q?emove=20`commit=5Fcount`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .mypyignore-todo | 2 -- scipy-stubs/version.pyi | 15 +++++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.mypyignore-todo b/.mypyignore-todo index 91f321d6..35936667 100644 --- a/.mypyignore-todo +++ b/.mypyignore-todo @@ -120,5 +120,3 @@ scipy\.stats\.make_distribution scipy\.stats\.order_statistic scipy\.stats\.rvs_ratio_uniforms scipy\.stats\.chatterjeexi - -scipy\.version\.commit_count diff --git a/scipy-stubs/version.pyi b/scipy-stubs/version.pyi index 38c84198..d6f582ee 100644 --- a/scipy-stubs/version.pyi +++ b/scipy-stubs/version.pyi @@ -1,9 +1,8 @@ -from typing import Final -from typing_extensions import LiteralString +from typing import Final as _Final, Literal as _Literal +from typing_extensions import LiteralString as _LiteralString -short_version: Final[LiteralString] = ... -version: Final[LiteralString] = ... -full_version: Final[LiteralString] = ... -git_revision: Final[LiteralString] = ... -commit_count: Final[LiteralString] = ... -release: Final[bool] = ... +version: _Final[_LiteralString] = ... +full_version: _Final[_LiteralString] = ... +short_version: _Final[_Literal["1.15.0rc1", "1.15.0rc2", "1.15.0"]] = ... +git_revision: _Final[_LiteralString] = ... +release: _Final[bool] = ...