/ Makefile
Makefile
1 .PHONY: format check install-hooks 2 3 install-hooks: 4 mkdir -p .git/hooks 5 cp hooks/pre-push .git/hooks/pre-push 6 chmod +x .git/hooks/pre-push 7 8 format: 9 autoflake --in-place --remove-all-unused-imports --recursive . 10 isort --profile black -l 100 . 11 black -l 100 . 12 13 check: 14 ./check_format.sh