Skip to content

Commit

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

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.28.6 → 0.29.0](python-jsonschema/check-jsonschema@0.28.6...0.29.0)
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.1](astral-sh/ruff-pre-commit@v0.5.0...v0.5.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 Jul 8, 2024
1 parent c79fa9e commit c797dbd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ repos:
)$
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.6
rev: 0.29.0
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-readthedocs

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.5.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_about.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def about_info() -> AboutInfo:
)


@pytest.mark.snapshot()
@pytest.mark.snapshot
@pytest.mark.parametrize(
"about_format",
[
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_jsonschema_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def test_array_type():
assert ArrayType(wrapped_type).type_dict == expected_json_schema


@pytest.mark.snapshot()
@pytest.mark.snapshot
@pytest.mark.parametrize(
"schema_obj,snapshot_name",
[
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def discover_streams(self):
datetime.datetime(2022, 1, 1, tzinfo=datetime.timezone.utc),
tick=False,
)
@pytest.mark.snapshot()
@pytest.mark.snapshot
@pytest.mark.parametrize(
"stream_maps,config,snapshot_name",
[
Expand Down
2 changes: 1 addition & 1 deletion tests/samples/test_tap_countries.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def tally_messages(messages: list) -> t.Counter:
assert counter[("STATE",)] == 3


@pytest.mark.snapshot()
@pytest.mark.snapshot
def test_write_schema(
snapshot: Snapshot,
snapshot_dir: Path,
Expand Down

0 comments on commit c797dbd

Please sign in to comment.