Skip to content

Commit

Permalink
chore(deps): update ruff to v0.6.8
Browse files Browse the repository at this point in the history
Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
renovate[bot] authored and JP-Ellis committed Oct 2, 2024
1 parent 909a04e commit 01a0f73
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
additional_dependencies: ["@biomejs/[email protected]"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.5
rev: v0.6.8
hooks:
- id: ruff
# Exclude python files in pact/** and tests/**, except for the
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ devel-test = [
"pytest-cov ~=5.0",
"testcontainers ~=3.0",
]
devel = ["pact-python[devel-types,devel-docs,devel-test]", "ruff==0.6.5"]
devel = ["pact-python[devel-types,devel-docs,devel-test]", "ruff==0.6.8"]

################################################################################
## Hatch Build Configuration
Expand Down
6 changes: 3 additions & 3 deletions tests/v3/compatibility_suite/test_v3_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def test_supports_data_for_provider_states() -> None:
"an integration is being defined for a consumer test",
target_fixture="pact_interaction",
)
def an_integration_is_being_defined_for_a_consumer_test() -> (
Generator[PactInteractionTuple[HttpInteraction], Any, None]
):
def an_integration_is_being_defined_for_a_consumer_test() -> Generator[
PactInteractionTuple[HttpInteraction], Any, None
]:
"""An integration is being defined for a consumer test."""
pact = Pact("consumer", "provider")
pact.with_specification("V3")
Expand Down
6 changes: 3 additions & 3 deletions tests/v3/compatibility_suite/test_v4_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def test_supports_adding_comments() -> None:
"an HTTP interaction is being defined for a consumer test",
target_fixture="pact_interaction",
)
def an_http_interaction_is_being_defined_for_a_consumer_test() -> (
Generator[PactInteractionTuple[HttpInteraction], Any, None]
):
def an_http_interaction_is_being_defined_for_a_consumer_test() -> Generator[
PactInteractionTuple[HttpInteraction], Any, None
]:
"""An HTTP interaction is being defined for a consumer test."""
pact = Pact("consumer", "provider")
pact.with_specification("V4")
Expand Down

0 comments on commit 01a0f73

Please sign in to comment.