A Python project template.
- A Dev Container with Python 3.11 and Docker-In-Docker.
- Visual Studio Code code quality extensions and configurations.
- Pre-commit code quality configurations.
- Dependabot configurations to update requirements.
- A script which runs pytest.
- A GitHub workflow which runs pre-commit.
- A GitHub workflow which runs pytest.
- A GitHub workflow which runs pre-commit and pytest on pull requests.
Required for use outside of GitHub Codespaces.
Open a pull request.
Execute the following command:
python tests/run_pytest.py
This will create htmlcov/
, coverage.xml
, and results.xml
in the tests/results
folder.
If a VS Code extension is not working, open the Command Palette and run the Developer: Reload Window command to refresh VS Code.