Skip to content

Commit 00bc8ee

Browse files
fix(deps): update ruff to v0.9.10 (#986)
Signed-off-by: JP-Ellis <josh@jpellis.me> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: JP-Ellis <josh@jpellis.me>
1 parent a610e97 commit 00bc8ee

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repos:
4848
- id: taplo-lint
4949

5050
- repo: https://github.com/astral-sh/ruff-pre-commit
51-
rev: v0.9.6
51+
rev: v0.9.10
5252
hooks:
5353
- id: ruff
5454
# Exclude python files in pact/** and tests/**, except for the

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ dependencies = [
6464
[project.optional-dependencies]
6565
# Linting and formatting tools use a more narrow specification to ensure
6666
# developper consistency. All other dependencies are as above.
67-
devel = ["pact-python[devel-types,devel-docs,devel-test]", "ruff==0.9.6"]
67+
devel = ["pact-python[devel-types,devel-docs,devel-test]", "ruff==0.9.10"]
6868
devel-docs = [
6969
"mkdocs-literate-nav~=0.6",
7070
"mkdocs-material[imaging]~=9.4",

src/pact/v3/generate/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def provider_state(expression: builtins.str | None = None) -> Generator:
354354
return GenericGenerator("ProviderState", extra_fields=params)
355355

356356

357-
def mock_server_url( # noqa: D417 (false positive)
357+
def mock_server_url(
358358
regex: builtins.str | None = None,
359359
example: builtins.str | None = None,
360360
) -> Generator:
@@ -369,7 +369,7 @@ def mock_server_url( # noqa: D417 (false positive)
369369
370370
example:
371371
An example URL to use.
372-
""" # noqa: D214, D405 (false positive)
372+
"""
373373
params: dict[builtins.str, builtins.str] = {}
374374
if regex is not None:
375375
params["regex"] = regex

0 commit comments

Comments
 (0)