Skip to content

Commit 2672989

Browse files
[pre-commit.ci] pre-commit autoupdate (#825)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0) - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.4...v0.4.7) * try fix broken test * linter --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ivan Shcheklein <[email protected]>
1 parent 758795e commit 2672989

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: sort-simple-yaml
2121
- id: trailing-whitespace
2222
- repo: https://github.com/codespell-project/codespell
23-
rev: v2.2.6
23+
rev: v2.3.0
2424
hooks:
2525
- id: codespell
2626
additional_dependencies: ["tomli"]
@@ -29,7 +29,7 @@ repos:
2929
.*\.ipynb
3030
)$
3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: "v0.4.4"
32+
rev: "v0.4.7"
3333
hooks:
3434
- id: ruff
3535
args: [--fix, --exit-non-zero-on-fix]

CODE_OF_CONDUCT.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributor Covenant Code of Conduct
44
Our Pledge
55
----------
66

7-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
7+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
88

99
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
1010

tests/plots/test_sklearn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_log_prc_curve(tmp_dir, y_true_y_pred_y_score, mocker):
7878

7979
live.log_sklearn_plot("precision_recall", y_true, y_score)
8080

81-
spy.assert_called_once_with(y_true, y_score)
81+
spy.assert_called_once_with(y_true=y_true, probas_pred=y_score)
8282
assert (out / "precision_recall.json").exists()
8383

8484

0 commit comments

Comments
 (0)