Skip to content

Commit ff78616

Browse files
committed
Add black command to Makefile
1 parent d624a5f commit ff78616

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Makefile

+2-4
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ stop: cmd:= stop $(name)
3737
restart: cmd:= restart $(name)
3838
logs: cmd:= logs -f
3939
exec: cmd:= exec $(name) $(c)
40+
black: cmd:= exec nerd_herder black -l 100 .
4041
dcps: cmd:= ps
41-
build push up down start stop restart logs exec dcps: docker_compose
42-
43-
black:
44-
black -l 100 .
42+
build push up down start stop restart logs exec dcps black: docker_compose

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
black==18.6b2
12
Django==2.0.1
23
django-redis==4.9.0
34
djangorestframework==3.7.7

0 commit comments

Comments
 (0)