Skip to content

Commit

Permalink
chore: update isort and black goals in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
PrettyWood committed Aug 31, 2020
1 parent 6e0e0c3 commit eb05b5e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.DEFAULT_GOAL := all
isort = isort toucan_connectors tests setup.py
black = black -S -l 100 --target-version py36 toucan_connectors tests setup.py

.PHONY: clean
clean:
Expand All @@ -14,13 +16,14 @@ install:

.PHONY: format
format:
isort -rc toucan_connectors tests setup.py
black -S -l 100 --target-version py36 toucan_connectors tests setup.py
$(isort)
$(black)

.PHONY: lint
lint:
flake8 toucan_connectors tests setup.py
black -S -l 100 --target-version py36 --check toucan_connectors tests setup.py
$(isort) --check-only
$(black) --check

.PHONY: test
test:
Expand Down

0 comments on commit eb05b5e

Please sign in to comment.