Skip to content

Commit 4de12a6

Browse files
committed
Fix ruff parameters
1 parent c2cba18 commit 4de12a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ lint:
2323
# Rust
2424
./build-aux/fun rustfmt --check --edition 2021 src/**/*.rs
2525
# Python
26-
./build-aux/fun ruff --config=src/langs/python/ruff.toml check src/**/*.py
27-
./build-aux/fun ruff --config=src/langs/python/ruff.toml format --check src/**/*.py
26+
./build-aux/fun ruff check --config=src/langs/python/ruff.toml src/**/*.py
27+
./build-aux/fun ruff format --config=src/langs/python/ruff.toml --check src/**/*.py
2828
# Blueprint
2929
./build-aux/fun blueprint-compiler format src/**/*.blp
3030
./build-aux/fun workbench-cli check blueprint src/**/*.blp

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"*.{json,md,yaml,yml}": "prettier --write",
2828
"*.{js,cjs,mjs}": "eslint --fix",
2929
"*.css": "./build-aux/fun workbench-cli format css",
30-
"*.py": "./build-aux/fun ruff --config=src/langs/python/ruff.toml format",
30+
"*.py": "./build-aux/fun ruff format --config=src/langs/python/ruff.toml",
3131
"*.rs": "./build-aux/fun rustfmt --edition 2021",
3232
"*.blp": "./build-aux/fun workbench-cli format blueprint",
3333
"*.vala": "./build-aux/fun workbench-cli format vala"

0 commit comments

Comments
 (0)