Skip to content

Commit 6d45bee

Browse files
committed
chore(tooling): Add Python formatting to restyle task
1 parent 22ea08d commit 6d45bee

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Justfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ perfect:
2424
restyle:
2525
git ls-files '*.lua' '*.lua.in' '*.rockspec.in' .busted .luacov .luacheckrc build-aux/config.ld | xargs stylua --respect-ignores
2626
git ls-files '*.rs' '*.rs.in' | xargs rustfmt --edition 2021 --config skip_children=true
27+
git ls-files '*.py' '*.py.in' | xargs ruff check --fix
28+
git ls-files '*.py' '*.py.in' | xargs ruff format
2729
git ls-files '*.toml' | xargs taplo format
2830

2931
[private]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
name = "casile"
33
dynamic = ["version"]
44

5-
[tool.ruff]
5+
[tool.ruff.lint]
66
extend-select = ["I"]

0 commit comments

Comments
 (0)