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 24, 2024
1 parent 789f212 commit 93ba0d6
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 93ba0d6

Please sign in to comment.