Skip to content

Commit

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

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

* chore: Make Ruff happy

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
Co-authored-by: Edgar Ramírez-Mondragón <[email protected]>
  • Loading branch information
3 people authored Dec 27, 2024
1 parent 8a0421b commit 2d75501
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ repos:
- id: check-readthedocs

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
rev: v0.8.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand Down
4 changes: 2 additions & 2 deletions tests/core/rest/test_pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_paginator_base_missing_implementation():

with pytest.raises(
TypeError,
match="Can't instantiate abstract class .* '?get_next'?",
match=r"Can't instantiate abstract class .* '?get_next'?",
):
BaseAPIPaginator(0)

Expand All @@ -57,7 +57,7 @@ def test_paginator_hateoas_missing_implementation():

with pytest.raises(
TypeError,
match="Can't instantiate abstract class .* '?get_next_url'?",
match=r"Can't instantiate abstract class .* '?get_next_url'?",
):
BaseHATEOASPaginator()

Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_module_deprecations():

with pytest.raises(
AttributeError,
match="module singer_sdk.testing has no attribute",
match="module singer_sdk\\.testing has no attribute",
):
testing.foo # noqa: B018

Expand Down

0 comments on commit 2d75501

Please sign in to comment.