A Python package to truncate dates and times.
Project description
cloack
A Python package to truncate dates and times.
References
- Wolt Python Package Cookiecutter repo
- Delorean package
Development
poetry install
poetry run isort .
orpoetry run isort . --verbose
poetry run black .
orpoetry run black . --verbose
- Add an entry to the
CHANGELOG.md
file and manually save it in VS Code to format it poetry run kacl-cli verify
orpoetry run kacl-cli verify --json
poetry run pytest
orpoetry run pytest --verbose
Deployment
poetry version patch
orpoetry version minor
poetry run kacl-cli release $(poetry version --short) --modify
and manually save theCHANGELOG.md
file in VS Code to format it
Notes
- cruft:
- Alternative to Cookiecutter
- cruft uses Cookiecutter as the template engine
- pytest-github-actions-annotate-failures
- flake8-logging-format
- Poetry:
poetry --version
- Update Poetry:
poetry self update
orcurl -sSL https://install.python-poetry.org | python3 - --uninstall
+curl -sSL https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | python3 - --version 1.2.0
- Check the current configuration:
poetry config --list
poetry config virtualenvs.in-project true --local
poetry config virtualenvs.in-project --unset
poetry new cloack
- Check
poetry-core
version:poetry about
poetry shell
poetry publish --help
poetry run black --help
poetry run kacl-cli --help
poetry run kacl-cli add --help
poetry run kacl-cli add added 'Boilerplate to create a Python package.' --modify
poetry run kacl-cli new
orpoetry run kacl-cli new | pbcopy
- https://python-poetry.org/docs/configuration/#local-configuration
- GitHub Actions:
- Relies-on
- Detect and Tag New Version
- actionlint:
- Online: https://rhysd.github.io/actionlint/
- https://github.com/rhysd/actionlint/blob/main/docs/install.md
brew install actionlint
+actionlint --help
+actionlint .github/workflows/*.yml
oractionlint -verbose .github/workflows/*.yml