Skip to content

Commit

Permalink
chore(deps): update ruff to v0.5.4
Browse files Browse the repository at this point in the history
Signed-off-by: JP-Ellis <josh@jpellis.me>
  • Loading branch information
renovate[bot] authored and JP-Ellis committed Jul 22, 2024
1 parent 5eb8489 commit be64e50
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 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:
stages: [pre-push]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
rev: v0.5.4
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 @@ -89,7 +89,7 @@ devel-test = [
"pytest-cov ~=5.0",
"testcontainers ~=3.0",
]
devel = ["pact-python[devel-types,devel-docs,devel-test]", "ruff==0.5.2"]
devel = ["pact-python[devel-types,devel-docs,devel-test]", "ruff==0.5.4"]

################################################################################
## Hatch Build Configuration
Expand Down
2 changes: 1 addition & 1 deletion src/pact/v3/interaction/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def with_metadata(
)
return self

def with_multipart_file( # noqa: PLR0913
def with_multipart_file(
self,
part_name: str,
path: Path | None,
Expand Down
4 changes: 2 additions & 2 deletions src/pact/v3/verifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def broker_source(
selector: Literal[True],
) -> BrokerSelectorBuilder: ...

def broker_source( # noqa: PLR0913
def broker_source(
self,
url: str | URL,
*,
Expand Down Expand Up @@ -804,7 +804,7 @@ class BrokerSelectorBuilder:
This class encapsulates the logic for selecting Pacts from a Pact broker.
"""

def __init__( # noqa: PLR0913
def __init__(
self,
verifier: Verifier,
url: str,
Expand Down
2 changes: 1 addition & 1 deletion tests/v3/compatibility_suite/util/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class PactBroker:
Interface to the Pact Broker.
"""

def __init__( # noqa: PLR0913
def __init__(
self,
broker_url: URL,
*,
Expand Down

0 comments on commit be64e50

Please sign in to comment.