Skip to content

Commit 3f1d255

Browse files
committed
Update to current local dev commands
1 parent 87b9721 commit 3f1d255

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CONTRIBUTING.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Pope](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
2828
# Create a Python 3 virtualenv and activate it
2929
virtualenv -p python3 .venv
3030
. .venv/bin/activate
31+
# Get the up to date base packages
32+
pip install --upgrade wheel setuptools
3133
# Install the module in a development mode
3234
python setup.py develop
3335
# Install test dependencies
@@ -44,7 +46,8 @@ do this to run the tests:
4446

4547
```bash
4648
# Unit tests, with PEP8 and mypy (static typing) checks
47-
pytest --pep8 --strict-markers --mypy pypuppetdb tests
49+
mypy --install-types --non-interactive pypuppetdb/ tests/
50+
pytest --flake8 --strict-markers --mypy pypuppetdb tests
4851
# Security linter
4952
bandit -r pypuppetdb
5053
```

0 commit comments

Comments
 (0)