From 159c65747395cb834d94d2db29e753d3cdda8423 Mon Sep 17 00:00:00 2001 From: jorenham Date: Sat, 21 Dec 2024 05:55:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20remove=20the=20temporary=20`1.15?= =?UTF-8?q?.0`=20allowlist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .mypyignore-todo | 2 -- pyproject.toml | 1 - tox.toml | 28 ++-------------------------- 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 .mypyignore-todo diff --git a/.mypyignore-todo b/.mypyignore-todo deleted file mode 100644 index fe71ef66..00000000 --- a/.mypyignore-todo +++ /dev/null @@ -1,2 +0,0 @@ -scipy\.stats\.__all__ -scipy\.stats\.(Normal|Uniform) diff --git a/pyproject.toml b/pyproject.toml index c1ca53a4..0235c423 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,7 +139,6 @@ uv run --frozen --no-editable --isolated --refresh-package=scipy-stubs stubtest --mypy-config-file=pyproject.toml --allowlist=.mypyignore - --allowlist=.mypyignore-todo --ignore-unused-allowlist $modules """ diff --git a/tox.toml b/tox.toml index c1613b21..a56c20ee 100644 --- a/tox.toml +++ b/tox.toml @@ -75,18 +75,7 @@ commands = [ [env.basedpyright] description = "basedpyright" dependency_groups = ["typecheck"] -commands = [ - [ - "uv", - "pip", - "freeze", - ], - [ - "basedpyright", - "scipy-stubs", - "codegen", - ], -] +commands = [["uv", "pip", "freeze"], ["basedpyright", "scipy-stubs", "codegen"]] [env.min-versions-test] description = "min versions tests" @@ -140,7 +129,6 @@ commands = [ "stubtest", "--mypy-config-file=pyproject.toml", "--allowlist=.mypyignore", - "--allowlist=.mypyignore-todo", "--ignore-unused-allowlist", "scipy", ], @@ -168,19 +156,7 @@ commands = [ [env.pyright] description = "Run pyright" dependency_groups = ["typecheck"] -commands = [ - [ - "uv", - "pip", - "freeze", - ], - [ - "uv", - "run", - "--no-sync", - "basedpyright", - ], -] +commands = [["uv", "pip", "freeze"], ["uv", "run", "--no-sync", "basedpyright"]] [env.typetest] description = "Run all type tests"