Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 706 Bytes

CONTRIBUTING.md

File metadata and controls

44 lines (35 loc) · 706 Bytes
Building locally

First create a virtual environment with your favorite tool, and activate eg

python3.8 -m venv venv
source venv/bin/activate

Install and test with make

make

Or with flit

pip install flit
flit install --deps develop --symlink
Linting and Formatting

TODO - write some docs on linting on formating

Lint with flake8, black, and isort

make lint

Format with autoflake, black, and isort (updates files in place)

make format
Build and Publish to PyPI

Building and publishing requires git >= 2.30

Build a wheel and an sdist (tarball) from the package:

make build

Publish to PyPI

make publish