chore: Add fmt in justfile; Update doc

This commit is contained in:
Baptiste Roux
2023-02-01 03:50:54 +01:00
parent 21be3e40dd
commit 8cbdd9f408
3 changed files with 5 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ clean:
fmt:
cargo fmt
git ls-files | grep '\.py$' | xargs isort
git ls-files | grep '\.py$' | xargs black
git ls-files | grep '\.sh$' | xargs -L 1 shfmt --indent 4 --write
@@ -23,6 +24,7 @@ fmt-check:
lint:
cargo clippy --no-deps -- -Dwarnings
git ls-files | grep '\.py$' | xargs ruff --ignore E501
git ls-files | grep '\.sh$' | xargs -L 1 shellcheck --norc
lint-fix: