Generic template for my python projects in an effort to maintain common structure & practices
This can be used when creating a repository by selecting it next to "Start with a template".
For more info on templates, refer to the docs
This template includes a pytest test setup for easy testing of your Python code.
Install test dependencies:
pip install -r requirements-dev.txtRun all tests:
pytestRun with coverage report:
pytest --cov=src --cov-report=htmlRun specific test file:
pytest tests/test_some_module.pyRun with verbose output:
pytest -v