From 56ee777ef2ba82dedea1de8ca3b87a8143173fa8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 02:35:22 +0000 Subject: [PATCH 1/2] Bump actions/cache from 4.0.2 to 4.1.0 Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.0. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4.0.2...v4.1.0) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/checks.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 2ee5938..4aa2ef3 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -42,7 +42,7 @@ jobs: hashFiles('pyproject.toml', 'requirements/**.txt') }}" >> $GITHUB_OUTPUT - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.0 with: path: .venv key: >- @@ -55,7 +55,7 @@ jobs: hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.0 with: path: ${{ env.PRE_COMMIT_CACHE }} key: >- @@ -80,14 +80,14 @@ jobs: check-latest: true - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.0 with: path: .venv fail-on-cache-miss: true key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ needs.prepare-base.outputs.python-key }} - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.0 with: path: ${{ env.PRE_COMMIT_CACHE }} fail-on-cache-miss: true From a88e11eca8dd25ede46792cec3b1f189401fb5d7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 02:35:34 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 066d3d2..bf0e0de 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,7 @@ from fixture_collections import ( ) # <- Unused imported_fixture imported from fixture_collections -def test_something(imported_fixture): - ... +def test_something(imported_fixture): ... ``` ### `redefined-outer-name` @@ -130,16 +129,14 @@ import pytest @pytest.fixture -def awesome_fixture(): - ... +def awesome_fixture(): ... @pytest.fixture @pytest.mark.usefixtures( "awesome_fixture" ) # <- Using useless `@pytest.mark.*` decorator for fixtures -def another_awesome_fixture(): - ... +def another_awesome_fixture(): ... ``` ### W6403 `deprecated-positional-argument-for-pytest-fixture` @@ -151,8 +148,7 @@ import pytest @pytest.fixture("module") # <- Using a deprecated positional arguments for fixture -def awesome_fixture(): - ... +def awesome_fixture(): ... ``` ### F6401 `cannot-enumerate-pytest-fixtures`