Skip to content

Commit ede00a9

Browse files
authoredMay 30, 2022
Add pre-commit instructions
1 parent 5a7d9c2 commit ede00a9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed
 

Diff for: ‎DEVELOPMENT.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poet
1010
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
1111
```
1212

13-
2. Install dependencies:
13+
2. Install dependencies & pre-commit hooks:
14+
1415
```shell
1516
poetry install
17+
18+
pre-commit install
1619
```
20+
1721
3. (Optional) Activate the poetry virtual environment:
22+
1823
```shell
1924
poetry shell
2025
```
21-
4. Run tests:
22-
```shell
23-
pytest
24-
```
25-
4. Run mypy type checker:
26+
27+
4. Run tests & mypy using tox:
2628
```shell
27-
mypy .
29+
tox
2830
```

0 commit comments

Comments
 (0)
Please sign in to comment.