Skip to content

Commit 0013da1

Browse files
committed
Add 'format' and 'lint' targets to the Makefile
1 parent 87a078c commit 0013da1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Makefile

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
all: test
1+
SRC := ./bdikit/
22

3-
PHONY: test
3+
all: lint test
4+
5+
PHONY: format test lint
6+
7+
lint:
8+
black --check ${SRC}
49

510
test:
611
python3 -m pytest
12+
13+
format:
14+
black ${SRC}

0 commit comments

Comments
 (0)