Skip to content

Commit 4bac7e2

Browse files
Merge pull request #340 from tpvasconcelos/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 1e88a36 + a0fbcf1 commit 4bac7e2

6 files changed

Lines changed: 12 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343
exclude: ^\.bumpversion\.cfg$
4444

4545
- repo: https://github.com/python-jsonschema/check-jsonschema.git
46-
rev: 0.33.3
46+
rev: 0.34.0
4747
hooks:
4848
- id: check-github-actions
4949
- id: check-github-workflows
@@ -104,7 +104,7 @@ repos:
104104
additional_dependencies: [setuptools-scm]
105105

106106
- repo: https://github.com/astral-sh/ruff-pre-commit
107-
rev: v0.12.12
107+
rev: v0.13.1
108108
hooks:
109109
- id: ruff-format
110110
- id: ruff

docs/reference/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Unreleased changes
77

88
- Bump project classification from Pre-Alpha to Alpha. ({gh-pr}`336`)
99

10+
### CI/CD
11+
12+
- pre-commit autoupdate ({gh-pr}`340`)
13+
1014
---
1115

1216
0.4.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ classifiers = [
3535
"Typing :: Typed",
3636
]
3737
keywords = [
38-
"ridgeline", "ridgeplot", "joyplot", "ggridges", "ridges", "ridge", "plot", "plotting", "distplot", "plotly", "data-visualization"
38+
"ridgeline", "ridgeplot", "joyplot", "ggridges", "ridges", "ridge", "plot", "plotting", "distplot", "plotly", "data-visualization", "visualization", "data-science", "statistics", "ggplot"
3939
]
4040
requires-python = ">=3.9"
4141
dependencies = [

tests/cicd_utils/test_scripts/test_extract_latest_release_notes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
import re
34
from pathlib import Path
45
from typing import TYPE_CHECKING
56

@@ -21,7 +22,7 @@ def test_path_to_changelog_exists() -> None:
2122

2223

2324
def test_extract_latest_release_notes_file_not_found() -> None:
24-
with pytest.raises(FileNotFoundError, match="File not found: non_existent_file.md"):
25+
with pytest.raises(FileNotFoundError, match=re.escape("File not found: non_existent_file.md")):
2526
extract_latest_release_notes(changelog=Path("non_existent_file.md"))
2627

2728

tests/unit/obj/traces/test_init.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
import re
34
from typing import TYPE_CHECKING
45

56
import pytest
@@ -23,6 +24,6 @@ def test_get_trace_cls(name: TraceType, cls: type[RidgeplotTrace]) -> None:
2324

2425
def test_get_trace_cls_unknown() -> None:
2526
with pytest.raises(
26-
ValueError, match="Unknown trace type 'foo'. Available types: 'area', 'bar'."
27+
ValueError, match=re.escape("Unknown trace type 'foo'. Available types: 'area', 'bar'.")
2728
):
2829
get_trace_cls("foo") # pyright: ignore[reportArgumentType]

tests/unit/test_ridgeplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_row_labels_wrong_len(row_labels: Any) -> None:
108108
[(1, 4), (2, 4), (3, 2)], # Trace 5
109109
],
110110
]
111-
with pytest.raises(ValueError, match="Expected 2 row_labels, got .* instead"):
111+
with pytest.raises(ValueError, match=r"Expected 2 row_labels, got .* instead"):
112112
ridgeplot(densities=densities, row_labels=row_labels)
113113

114114

0 commit comments

Comments
 (0)