From 5328d0dc94616160e2f72ec87f6dd9e7ef5a6d36 Mon Sep 17 00:00:00 2001 From: linuxdaemon Date: Fri, 31 May 2024 14:39:18 -0400 Subject: [PATCH] Revert "ci: add type checking coverage information to codecov" --- .github/workflows/mypy.yml | 14 +------------- .gitignore | 1 - codecov.yml | 8 -------- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 606491c5..2a0502f9 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -19,21 +19,9 @@ jobs: cache: "pip" cache-dependency-path: | **/*requirements*.txt - - name: Install apt deps run: sudo apt-get update && sudo apt-get install -qq -y libxml2-dev libxslt1-dev - - name: Install dependencies run: pip install -Ur requirements-dev.txt - - name: Test with mypy - run: mypy --cobertura-xml-report . . - - - uses: codecov/codecov-action@v4 - with: - name: types - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} - disable_search: true - file: cobertura.xml - flags: types + run: pre-commit run mypy --all diff --git a/.gitignore b/.gitignore index 83e3ae43..0a8cb56f 100644 --- a/.gitignore +++ b/.gitignore @@ -65,4 +65,3 @@ config.json .vagrant/ .mypy_cache/ .DS_Store -cobertura.xml diff --git a/codecov.yml b/codecov.yml index 2fde8021..e60a3c78 100644 --- a/codecov.yml +++ b/codecov.yml @@ -10,14 +10,6 @@ coverage: component_management: individual_components: - - component_id: types - name: types - flag_regexes: - - types - statuses: - - type: patch - target: 90% - - component_id: tests name: tests flag_regexes: