Skip to content

Commit e5226ac

Browse files
added separate type rule to Makefile
1 parent 0de273e commit e5226ac

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ fix:
55
poetry run ruff check src --fix
66

77
lint:
8-
poetry run mypy src
98
poetry run ruff check src
109

10+
type:
11+
poetry run mypy src
12+
1113
test:
1214
poetry run pytest tests
1315

14-
check: lint test
16+
check: lint type test
1517

1618
clean:
1719
rm -rf .pytest_cache

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,18 @@ To setup the virtual environment and install your project, run:
1616
make install
1717
```
1818

19-
To use the linter and type checker, run:
19+
To run the linter:
2020

2121
```shell
2222
make lint
2323
```
2424

25+
To run the type checker:
26+
27+
```shell
28+
make type
29+
```
30+
2531
To run the test suite:
2632

2733
```shell

0 commit comments

Comments
 (0)