Skip to content
Snippets Groups Projects
Unverified Commit d7205b7e authored by George Hickman's avatar George Hickman
Browse files

Wrap up common isort tasks in a makefile

parent d38c7c7c
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
.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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment