Skip to content

Commit bd05311

Browse files
committed
add fmt and sort pipenv run scripts
1 parent 555c1dd commit bd05311

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ lint:
2121
pylint $(APP) || true
2222

2323
fmt:
24-
isort -rc --atomic
25-
black .
24+
isort --apply --atomic
25+
black . -l 120
2626

2727
check-fmt:
2828
isort -rc --check

Pipfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ python_version = "3.8"
2727
[scripts]
2828
dev = "uvicorn app.main:APP --reload"
2929
start = "uvicorn app.main:APP"
30+
fmt = "black . -l 120"
31+
sort = "isort --apply --atomic"

0 commit comments

Comments
 (0)