Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#2610)
Browse files Browse the repository at this point in the history
* chore: pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](astral-sh/ruff-pre-commit@v0.5.7...v0.6.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Aug 19, 2024
1 parent cf35dbd commit 162b910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ repos:
- id: check-readthedocs

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand Down
4 changes: 2 additions & 2 deletions singer_sdk/testing/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def config(self) -> SuiteConfig: # noqa: PLR6301
return suite_config or SuiteConfig()

@pytest.fixture
def resource(self) -> t.Any: # noqa: ANN401, PLR6301, PT004
def resource(self) -> t.Any: # noqa: ANN401, PLR6301
yield # noqa: PT022

@pytest.fixture(scope="class")
Expand Down Expand Up @@ -345,7 +345,7 @@ def config(self) -> SuiteConfig: # noqa: PLR6301
return suite_config or SuiteConfig()

@pytest.fixture
def resource(self) -> t.Any: # noqa: ANN401, PLR6301, PT004
def resource(self) -> t.Any: # noqa: ANN401, PLR6301
yield # noqa: PT022

@pytest.fixture
Expand Down

0 comments on commit 162b910

Please sign in to comment.