Contributions welcome!
Here are some notes about common tools and tasks you'll run into when working on unleash-client-python.
- Pyenv for managing Python versions.
- Activate your virtualenv solution (e.g. source activate YOUR_VIRTUALENV).
- Run linting & tests:
make test
- Install Python versions for each supported version.
- Deactivate your local virtualenv (if it's activated).
- Run
pyenv local 3.10.X 3.9.Y 3.8.Z 3.7.12 3.6.15
(inserting appropriate patch versions). - Run
make install
to get latest local dependencies. - Run
make tox
to run tox.
- Land all your PRs on main!
- If new configuration is added, update Flask-Unleash config.
- Update changelog.md and other documentation.
- Create tag on main branch.
- Create new Release in Github and paste in changelog.
- Github Actions workflow will automagically publish to Pypi and build documentation.
- Publish new Flask-Unleash package (if necessary).
Serving docs from WSL!
docker run -d --name unleash-docs --rm -v `pwd`/_build/html:/web -p 8080:8080 halverneus/static-file-server:latest