Justfile: Add target for formatting

This commit is contained in:
2022-05-26 16:06:05 +02:00
parent c994c90247
commit af45b13612

View File

@@ -5,6 +5,10 @@ check: test
cargo fmt --check cargo fmt --check
cargo clippy --no-deps -- -Dwarnings cargo clippy --no-deps -- -Dwarnings
fmt:
cargo fmt
git ls-files | grep '\.py$' | xargs black
lint-fix: lint-fix:
cargo clippy --no-deps --fix cargo clippy --no-deps --fix