diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..c20c39c8bcc01e10fb48fb9c0a322b9258b9fca3 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: +help: + @echo "Usage:" + @echo " make help prints this help." + @echo " make fix fix import sort order." + @echo " make sort run the linter." + +.PHONY: fix +fix: + isort -y + +.PHONY: sort +sort: + @echo "Running Isort" && isort --check-only --diff || exit 1