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 cde191a commit 6d7a881
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 6d7a881

Please sign in to comment.