Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/cache from 4.0.2 to 4.1.0 #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand All @@ -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: >-
Expand All @@ -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
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand All @@ -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`
Expand Down
Loading