Skip to content

Commit dd06505

Browse files
committed
make fmt & make check-fmt
1 parent b50fb1f commit dd06505

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ install:
77
- "pip install pipenv"
88
- "pipenv install --dev --skip-lock"
99
script:
10-
- "make test lint"
10+
- "make test lint check-fmt"

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ test:
1919

2020
lint:
2121
pylint $(APP) || true
22+
23+
fmt:
24+
isort -rc --atomic
25+
black .
26+
27+
check-fmt:
28+
isort -rc --check
29+
black . --check --diff

0 commit comments

Comments
 (0)