Skip to content

Commit

Permalink
Add 'format' and 'lint' targets to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
aecio committed May 28, 2024
1 parent 87a078c commit 0013da1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
all: test
SRC := ./bdikit/

PHONY: test
all: lint test

PHONY: format test lint

lint:
black --check ${SRC}

test:
python3 -m pytest

format:
black ${SRC}

0 comments on commit 0013da1

Please sign in to comment.