Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 564 Bytes

Development.md

File metadata and controls

43 lines (31 loc) · 564 Bytes

Commands for Development

Initialize Poetry

poetry init
poetry add --group dev pre-commit=2.21.0
poetry run pre-commit install

Change Poetry Venv Python Version

pyenv local 3.11
poetry env use 3.11
poetry env info --path
poetry env list

Bump Version Number

poetry lock
poetry version patch

Build Documentation

poetry run make html -C docs

Check Port number

netstat -anp udp | grep 1611

Test Coverage

poetry run pytest --cov=pysnmp --cov-report=xml:coverage.xml