From 5fd8e2b0fa867ff061153ca82ad34561cbc90eef Mon Sep 17 00:00:00 2001 From: "baogorek@gmail.com" Date: Fri, 5 Sep 2025 09:28:37 -0400 Subject: [PATCH] Remove mypy from CI/CD workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes mypy type checking from the project to avoid type annotation overhead and simplify the development workflow. This change: - Removes mypy from GitHub Actions push workflow - Removes mypy from dev dependencies in pyproject.toml - Removes mypy configuration section from pyproject.toml 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/push.yml | 4 ---- changelog_entry.yaml | 4 ++++ pyproject.toml | 9 --------- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d073d0b..b50eff2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -28,10 +28,6 @@ jobs: run: | black --check --diff . - - name: Type check with mypy - run: | - mypy l0 - - name: Run tests with coverage run: | pytest tests/ -v --cov=l0 --cov-report=xml --cov-report=term-missing diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29..283a188 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + removed: + - Removed mypy type checking from CI/CD workflow to eliminate type annotation overhead \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7c95db4..9566186 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,6 @@ dev = [ "pytest>=7.0", "pytest-cov>=3.0", "black>=22.0", - "mypy>=0.900", "build>=1.3", "scikit-learn>=1.0", "yaml-changelog>=0.3.0", @@ -62,14 +61,6 @@ Issues = "https://github.com/PolicyEngine/L0/issues" line-length = 79 target-version = ['py313'] - -[tool.mypy] -python_version = "3.13" -warn_return_any = true -warn_unused_configs = true -disallow_untyped_defs = true -ignore_missing_imports = true - [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"]