Common tools for our organization.
Project description
README.md
Base file using best practices
- pytest for testing
- precommit
- black formatting
- flake linting
- includes bandit for security scanning
- mypy - type testing
- mkdocs for automatic document preparation based on code
- nox for automatic testing and building (python version of tox)
- scriv for automatic changelog generation
Manual commands
- Build requirements.txt from poetry
poetry export -f requirements.txt > requirements.txt
- Build changelog data.
sciv create
- Edit file created.
edit changelog.d/AUTOGENERATEDFILENAME
add what you changed
- Collect the changelog to update CHANGELOG.rst
scriv collect
- Build package for upload to pypi.
- Get pypi authentication ready prior to publish
- Update version number in pyproject.toml prior to building
add env variables
put secret in env variables with
$POETRY_HTTP_BASIC_PYPI_TOKEN
export POETRY_HTTP_BASIC_PYPI_TOKEN=PYPIAPIGOESHERE
poetry config pypi-token.pypi $POETRY_HTTP_BASIC_PYPI_TOKEN
poetry build
poetry publish
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mctinctools-0.1.4.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for mctinctools-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4c63c3961015cb87031ee0f9a4cae18162020b84e6ab0e325b390ed490876b3 |
|
MD5 | 7ed47a8e8b2b69a3d5baebbff23668af |
|
BLAKE2b-256 | b0fec7a66fa343b1400ec97d24629a1c2bd88ffb87c5aab2fb96710da2b793fd |