My application development modules.
Install this via pip (or your favourite package manager):
pip install py_app_dev
The project uses Poetry for dependencies management and packaging.
If you do not have Poetry installed, you can run the boostrap.ps1 script.
This will install Python and Poetry as configured in scoopfile.json.
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force
.\bootstrap.ps1To install the development dependencies in a virtual environment, type:
poetry installThis will also generate a poetry.lock file, you should track this file in version control. To execute the test suite, call pytest inside Poetry's virtual environment via poetry run:
poetry run pytestCheck out the Poetry documentation for more information on the available commands.
For those using VS Code there are tasks defined for the most common commands:
- install development dependencies
- run tests
- run all checks configured for pre-commit
- generate documentation
See the .vscode/tasks.json for more details.
This repository uses commitlint for checking if the commit message meets the conventional commit format.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
This package was created with Copier and the browniebroke/pypackage-template project template.