Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions rust/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,30 @@ check-shell-permissions:
check-rust-formatting:
cargo fmt --all -- --check --config=group_imports=StdExternalCrate

.PHONY: check-shell-formatting
check-shell-formatting:
shfmt --simplify --diff ci/*

.PHONY: check-python-formatting
check-python-formatting:
autopep8 --exit-code --diff --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/

.PHONY: check-yaml-formatting
check-yaml-formatting:
yamlfmt -verbose -lint -dstar .github/workflows/*

.PHONY: fix-rust-formatting
fix-rust-formatting:
cargo fmt --all -- --config=group_imports=StdExternalCrate

.PHONY: check-shell-formatting
check-shell-formatting:
shfmt --simplify --diff ci/*

.PHONY: fix-shell-formatting
fix-shell-formatting:
shfmt --simplify --write ci/*

.PHONY: check-python-formatting
check-python-formatting:
autopep8 --exit-code --diff --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/

.PHONY: fix-python-formatting
fix-python-formatting:
autopep8 --in-place --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/

.PHONY: check-yaml-formatting
check-yaml-formatting:
yamlfmt -verbose -lint -dstar .github/workflows/*

.PHONY: fix-yaml-formatting
fix-yaml-formatting:
yamlfmt -verbose -dstar .github/workflows/*
Expand Down