From 25286ccf24507913ecbd242f309eef53d034e2e2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 22:43:57 +0000 Subject: [PATCH 1/4] ci(pre-commit.ci): autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/crate-ci/typos: v1.20.10 → v1.21.0](https://github.com/crate-ci/typos/compare/v1.20.10...v1.21.0) - [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.3) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37fbf5cc..806d209c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,12 +7,12 @@ exclude: .asv repos: - repo: https://github.com/crate-ci/typos - rev: v1.20.10 + rev: v1.21.0 hooks: - id: typos - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.2 + rev: v0.4.3 hooks: - id: ruff args: [--fix, --unsafe-fixes] From a61787b80e03827517a0b57cc0e588f505ba2958 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 6 May 2024 19:12:09 -0400 Subject: [PATCH 2/4] update action --- .github/workflows/test.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 364b8afe..a344e54d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,16 +21,14 @@ jobs: test: name: Test - uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v1 + uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v2 with: os: ${{ matrix.os }} python-version: ${{ matrix.python-version }} pip-post-installs: ${{ matrix.pydantic }} - fail-on-coverage-error: false hatch-build-hooks-enable: ${{ matrix.compile }} pip-install-pre-release: ${{ github.event_name == 'schedule' }} - report-failures: ${{ github.event_name == 'schedule' }} - secrets: inherit + coverage-upload: artifact strategy: fail-fast: false matrix: @@ -51,7 +49,7 @@ jobs: test-qt: name: Test Qt - uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v1 + uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v2 with: os: ${{ matrix.os }} python-version: ${{ matrix.python-version }} @@ -59,8 +57,7 @@ jobs: extras: "test,testqt" hatch-build-hooks-enable: ${{ matrix.compile }} pip-install-pre-release: ${{ github.event_name == 'schedule' }} - report-failures: ${{ github.event_name == 'schedule' }} - secrets: inherit + coverage-upload: artifact strategy: fail-fast: false matrix: @@ -74,9 +71,15 @@ jobs: include: - os: macos-13 qt: PySide2 + + upload_coverage: + if: always() + needs: [test, test-qt] + uses: pyapp-kit/workflows/.github/workflows/upload-coverage.yml@v2 + secrets: inherit test-magicgui: - uses: pyapp-kit/workflows/.github/workflows/test-dependents.yml@v1 + uses: pyapp-kit/workflows/.github/workflows/test-dependents.yml@v2 with: dependency-repo: pyapp-kit/magicgui dependency-extras: "test" From 9c845c289d818346e576c30e7bada19773aecad4 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 6 May 2024 19:45:45 -0400 Subject: [PATCH 3/4] omit full folder --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3f76ed04..1b7c4b3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -203,9 +203,10 @@ exclude_lines = [ "raise NotImplementedError()", ] show_missing = true + [tool.coverage.run] source = ["psygnal"] -omit = ["*/_pyinstaller_util/hook-psygnal.py"] +omit = ["*/_pyinstaller_util"] # https://github.com/mgedmin/check-manifest#configuration [tool.check-manifest] From 4c6f1239425b9a9163f870d0e00ef204e3a4c28f Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 6 May 2024 20:06:53 -0400 Subject: [PATCH 4/4] add star --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1b7c4b3c..32a39b6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -206,7 +206,7 @@ show_missing = true [tool.coverage.run] source = ["psygnal"] -omit = ["*/_pyinstaller_util"] +omit = ["*/_pyinstaller_util/*"] # https://github.com/mgedmin/check-manifest#configuration [tool.check-manifest]