Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 62be72d

Browse files
committed
Fix the poe check command
1 parent f7d9e30 commit 62be72d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ sequence = ["_format", "_sort-imports"]
8080
help = "Format the source code, and sort the imports"
8181

8282
[tool.poe.tasks.check]
83-
sequence = ["_check-format", "_check-imports"]
84-
help = "Check that the source code is formatted and the imports sorted"
83+
sequence = ["_check-format", "_check-ruff-lint"]
84+
help = "Check that the source code is formatted and the code passes the linter"
8585

8686
[tool.poe.tasks._format]
8787
cmd = "ruff format src tests"
@@ -95,9 +95,9 @@ help = "Sort the imports"
9595
cmd = "ruff format --diff src tests"
9696
help = "Check that the source code is formatted"
9797

98-
[tool.poe.tasks._check-imports]
99-
cmd = "ruff check --select I src tests"
100-
help = "Check that the imports are sorted"
98+
[tool.poe.tasks._check-ruff-lint]
99+
cmd = "ruff check src tests"
100+
help = "Check the code with the Ruff linter"
101101

102102
[tool.poe.tasks.generate_lib]
103103
cmd = """

0 commit comments

Comments
 (0)