@@ -10,34 +10,38 @@ CARGO_LOCKED := $(if $(CI),--locked,)
1010.PHONY : default
1111default : compile
1212
13+ .PHONY : check-shell-permissions
14+ check-shell-permissions :
15+ ./ci/check-scripts-permissions.sh
16+
1317.PHONY : check-rust-formatting
1418check-rust-formatting :
1519 cargo fmt --all -- --check --config=group_imports=StdExternalCrate
1620
17- .PHONY : check-shell-formatting
18- check-shell-formatting :
19- shfmt --simplify --diff ci/*
20-
21- .PHONY : check-python-formatting
22- check-python-formatting :
23- autopep8 --exit-code --diff --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/
24-
25- .PHONY : check-yaml-formatting
26- check-yaml-formatting :
27- yamlfmt -verbose -lint -dstar .github/workflows/*
28-
2921.PHONY : fix-rust-formatting
3022fix-rust-formatting :
3123 cargo fmt --all -- --config=group_imports=StdExternalCrate
3224
25+ .PHONY : check-shell-formatting
26+ check-shell-formatting :
27+ shfmt --simplify --diff ci/*
28+
3329.PHONY : fix-shell-formatting
3430fix-shell-formatting :
3531 shfmt --simplify --write ci/*
3632
33+ .PHONY : check-python-formatting
34+ check-python-formatting :
35+ autopep8 --exit-code --diff --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/
36+
3737.PHONY : fix-python-formatting
3838fix-python-formatting :
3939 autopep8 --in-place --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/
4040
41+ .PHONY : check-yaml-formatting
42+ check-yaml-formatting :
43+ yamlfmt -verbose -lint -dstar .github/workflows/*
44+
4145.PHONY : fix-yaml-formatting
4246fix-yaml-formatting :
4347 yamlfmt -verbose -dstar .github/workflows/*
@@ -50,13 +54,21 @@ check-rust-linting:
5054check-shell-linting :
5155 shellcheck ci/* .sh
5256
57+ .PHONY : check-python-linting
58+ check-python-linting :
59+ ruff check --line-length 120 end-to-end-tests/
60+
61+ .PHONY : fix-python-linting
62+ fix-python-linting :
63+ ruff check --fix --line-length 120 end-to-end-tests/
64+
5365.PHONY : check-github-actions-workflows-linting
5466check-github-actions-workflows-linting :
5567 actionlint -verbose -color
5668
57- .PHONY : check-scripts-permissions
58- check-scripts-permissions :
59- ./ci/check-scripts-permissions.sh
69+ .PHONY : check-rust-dependencies
70+ check-rust-dependencies :
71+ cargo +nightly udeps --all-targets
6072
6173.PHONY : compile
6274compile :
0 commit comments