Python package template using Poetry and Github CI
MIT License
gh repo create my-project --template ionite34/python-template
git clone https://github.com/ionite34/python-template
Pre-commit enabled with pre-commit.ci
Uses GitHub Actions with pytest, coverage.py, and Codecov
coverage.yml
First runs tests and coverage on
Python 3.10
withUbuntu
, uploads results to Codecov
tests.yml
If coverage passes, runs 12 extended matrix tests on
Python 3.7 - 3.10
withUbuntu, Windows, macOS
FOSSA_API
PYPI_TOKEN
tests
actions on the branch to be passingDEEPSOURCE_DSN
PYPI_TOKEN
FOSSA_API
DEEPSOURCE_DSN
pytest >= 7.1.2
pytest-cov >= 3.0.0
mypy = ~= 0.961
pylint >= 2.14.4
black >= 22.6.0
tox ~= 3.25.1
pre-commit >= 2.20.0
The code in this template is released under the MIT License.