Skip to content

Commit 51c5f33

Browse files
committed
repo: Add format task and enforce in CI
CI runs all tasks, if we add the formatting task, it is enforced. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 9432695 commit 51c5f33

File tree

2 files changed

+2
-76
lines changed

2 files changed

+2
-76
lines changed

.github/workflows/format.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,6 @@ env = {PYTHONIOENCODING = "utf-8"}
114114

115115
[tool.poe.tasks]
116116
lint = "ruff check ."
117+
format = "ruff format --check ."
117118
types = "mypy --package west"
118-
all = ["test", "lint", "types"]
119+
all = ["test", "lint", "format", "types"]

0 commit comments

Comments
 (0)