Skip to content

Commit e63d626

Browse files
Add Makefile shortcuts for common dev checks
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 45a6f0a commit e63d626

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.PHONY: install lint test build check
2+
3+
install:
4+
python -m pip install -e . pytest ruff build
5+
6+
lint:
7+
python -m ruff check .
8+
9+
test:
10+
python -m pytest -q
11+
12+
build:
13+
python -m build
14+
15+
check: lint test build

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,13 @@ python -m pytest -q
168168
python -m build
169169
```
170170

171+
Or use Make targets:
172+
173+
```bash
174+
make install
175+
make check
176+
```
177+
171178
## Examples
172179

173180
Ready-to-run examples are available in `examples/`:

0 commit comments

Comments
 (0)