Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ jobs:
pre-commit run --all-files trailing-whitespace
pre-commit run --all-files typos
pre-commit run --all-files nbstripout
pre-commit run --all-files ruff
pre-commit run --all-files ruff-check
pre-commit run --all-files mypy
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-toml
Expand All @@ -11,7 +11,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/crate-ci/typos
rev: v1.30.2
rev: v1.36.0
hooks:
- id: typos

Expand All @@ -22,16 +22,16 @@ repos:
args: [--keep-id]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.10
rev: v0.12.11
hooks:
- id: ruff
- id: ruff-check
files: ^((skore|skore-hub-project|skore-local-project)/(hatch|src|tests))|(examples)/
args: [--fix]
- id: ruff-format
files: ^((skore|skore-hub-project|skore-local-project)/(hatch|src|tests))|(examples)/

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
rev: v1.17.1
hooks:
- id: mypy
files: ^(skore|skore-hub-project|skore-local-project)/src/
2 changes: 1 addition & 1 deletion docs/design/0004-cache-python-dependencies-in-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ decision-makers: ["@thomass-dev"]

## Context and Problem Statement

The choice was made to support the 3 latests versions of `scikit-learn`, jointly with
The choice was made to support the 3 latest versions of `scikit-learn`, jointly with
the OS team.

To date, we already have a CI running `skore` tests with 2 OS, and 4 python versions.
Expand Down
3 changes: 2 additions & 1 deletion typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ extend-ignore-re = [
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$",
# Line block with `# spellchecker:<on|off>`
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
"ellide_string"
"ellide_string",
"plt\\.setp"
]

[default.extend-words]
Expand Down