From 331a66c8e6bc317555aa0b67948b6c8588d4199c Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 11 Jun 2025 14:24:58 +0200 Subject: [PATCH] Drop mypy coverage --- .codecov.yml | 9 +-------- .github/workflows/reusable-linters.yml | 12 ------------ .pre-commit-config.yaml | 2 -- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 076c0413f..932078827 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -2,7 +2,7 @@ codecov: notify: - after_n_builds: 2 # The number of test matrix+lint jobs uploading coverage + after_n_builds: 1 # The only test-summary job uploads the coverage wait_for_ci: false require_ci_to_pass: false @@ -21,9 +21,6 @@ coverage: target: 100% flags: - pytest - typing: - flags: - - MyPy project: lib: flags: @@ -37,10 +34,6 @@ coverage: paths: - tests/ target: 100% - typing: - flags: - - MyPy - target: 80% github_checks: annotations: false diff --git a/.github/workflows/reusable-linters.yml b/.github/workflows/reusable-linters.yml index 45b383fc7..2e241bd6e 100644 --- a/.github/workflows/reusable-linters.yml +++ b/.github/workflows/reusable-linters.yml @@ -60,18 +60,6 @@ jobs: - name: Run linters run: | make lint - - name: Send coverage data to Codecov - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.codecov-token }} - files: >- - .tox/.tmp/.mypy/python-3.13/cobertura.xml, - .tox/.tmp/.mypy/python-3.11/cobertura.xml, - .tox/.tmp/.mypy/python-3.9/cobertura.xml - flags: >- - CI-GHA, - MyPy - fail_ci_if_error: true - name: Install spell checker run: | sudo apt install libenchant-2-dev diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00288c230..0104b92b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -125,7 +125,6 @@ repos: args: - --python-version=3.13 - --txt-report=.tox/.tmp/.mypy/python-3.13 - - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.13 - --html-report=.tox/.tmp/.mypy/python-3.13 pass_filenames: false - id: mypy @@ -141,7 +140,6 @@ repos: args: - --python-version=3.11 - --txt-report=.tox/.tmp/.mypy/python-3.11 - - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.11 - --html-report=.tox/.tmp/.mypy/python-3.11 pass_filenames: false