diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ff7fd7a..6965a34 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: ["tomli"] @@ -29,7 +29,7 @@ repos: .*\.ipynb )$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.4" + rev: "v0.4.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/CODE_OF_CONDUCT.rst b/CODE_OF_CONDUCT.rst index bc50a04..216fbdc 100644 --- a/CODE_OF_CONDUCT.rst +++ b/CODE_OF_CONDUCT.rst @@ -4,7 +4,7 @@ Contributor Covenant Code of Conduct Our Pledge ---------- -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. +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. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. diff --git a/tests/plots/test_sklearn.py b/tests/plots/test_sklearn.py index 65a20e6..85b85dd 100644 --- a/tests/plots/test_sklearn.py +++ b/tests/plots/test_sklearn.py @@ -78,7 +78,7 @@ def test_log_prc_curve(tmp_dir, y_true_y_pred_y_score, mocker): live.log_sklearn_plot("precision_recall", y_true, y_score) - spy.assert_called_once_with(y_true, y_score) + spy.assert_called_once_with(y_true=y_true, probas_pred=y_score) assert (out / "precision_recall.json").exists()