Skip to content

Commit

Permalink
fix: Use estimator whenever possible to detect the ML task
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Dec 21, 2024
1 parent da3ae73 commit acb51e0
Show file tree
Hide file tree
Showing 4 changed files with 976 additions and 24 deletions.
7 changes: 6 additions & 1 deletion skore/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ omit = [

[tool.ruff]
src = ["skore"]
exclude = ["doc"]
exclude = [
"doc",
# This file is vendored and we should not change it
"skore/src/skore/sklearn/_sklearn_compat.py",
]

[tool.ruff.lint]
select = [
Expand Down Expand Up @@ -150,6 +154,7 @@ convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"src/*" = ["UP007"]
"tests/*" = ["D"]
"skore/src/skore/sklearn/_sklearn_compat.py" = ["ALL"]

[tool.typos.default]
extend-ignore-re = [
Expand Down
Loading

0 comments on commit acb51e0

Please sign in to comment.