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

chore(deps): update ruff to v0.6.9 #797

Merged
merged 1 commit into from
Oct 7, 2024
Merged
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
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.9
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.9"]

################################################################################
## 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
Loading