Skip to content
Snippets Groups Projects
Commit 84b0944b authored by George Hickman's avatar George Hickman Committed by Fredrik Jonsson
Browse files

Wrap up common isort tasks in a makefile

parent 6ea1d554
Loading
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