File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1616format :
1717 python -m ruff format --check .
1818
19+ .PHONY : fix
20+ fix : fix-lint fix-format
21+
22+ .PHONY : fix-lint
23+ fix-lint :
24+ python -m ruff check --fix .
25+
26+ .PHONY : fix-format
27+ fix-format :
28+ python -m ruff format .
29+
30+
1931.PHONY : unittest
2032unittest : # # Run unittest
2133 python -m pytest $(ARGS ) test/unit/
Original file line number Diff line number Diff line change 33EXIT_STATUS=0
44
55if ! make lint ; then
6- echo " Please run command 'make lint ' on your local and commit the result"
6+ echo " Please run command 'make fix ' on your local and commit the result"
77 EXIT_STATUS=1
88fi
99if ! make format ; then
10- echo " Please run command 'make format ' on your local and commit the result"
10+ echo " Please run command 'make fix ' on your local and commit the result"
1111 EXIT_STATUS=1
1212fi
1313if ! make unittest ARGS=--junitxml=./test/unit/junit.xml ; then
You can’t perform that action at this time.
0 commit comments