Skip to content

Commit 2be3182

Browse files
chore(all): Enforce ruff/flake8-pytest-style rules
1 parent 97de768 commit 2be3182

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

skore-hub-project/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ exclude_also = [
8383
]
8484

8585
[tool.ruff.lint]
86-
select = ["E", "F", "UP", "B", "C4", "SIM", "T", "I", "D", "RUF010", "RUF015"]
86+
select = ["E", "F", "UP", "B", "C4", "SIM", "T", "PT003", "PT014", "I", "D", "RUF010", "RUF015"]
8787

8888
[tool.ruff.lint.pydocstyle]
8989
convention = "numpy"

skore-local-project/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exclude_also = [
7474
]
7575

7676
[tool.ruff.lint]
77-
select = ["E", "F", "UP", "B", "C4", "SIM", "T", "I", "D", "RUF010", "RUF015"]
77+
select = ["E", "F", "UP", "B", "C4", "SIM", "T", "PT003", "PT014", "I", "D", "RUF010", "RUF015"]
7878

7979
[tool.ruff.lint.pydocstyle]
8080
convention = "numpy"

skore/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ select = [
150150
"SIM",
151151
# flake8-print
152152
"T",
153+
# flake8-pytest-style
154+
"PT003", "PT014",
153155
# isort
154156
"I",
155157
# pydocstyle

0 commit comments

Comments
 (0)