Contributing
Reporting Bugs & Proposing Changes
Use the GitHub Issues page:
- Go to https://github.com/pushfoo/python-better-sum/issues
- Search for existing closed and open issues
- If none seem relevant, file a new one!
Contributor Setup
Before you contribute code, you'll need to get your development environment set up.
After making sure you have Python 3.9+:
- Fork and locally clone the repo
- Create and activate a virtual environment
- venv is the default
- others probably work too
pip install --upgrade pippip install -I -e .[dev]- For users Python's standard venv tool:
deactivatethe virtual environment- reactivate it as described in the venv doc
Per the comments on reactivation seems to be necessary on the default venv. Poetry and Rye are unaffected. To learn more, please see:
- This comment on mkdocstrings issue #215
- The other comments in the same thread
Making Changes
Code Changes
The project aims to be simple.
- Remove items from the project's pyproject.toml dependencies section
- Don't add them without a very compelling reason
Important
This is different than the [project.optional-dependencies] section!
Documentation
Documentation dependencies can be added if needed to make the doc better.
At the moment, this project uses:
This means we aren't using the original Markdown from 2004. Instead, we the following dialects:
| Markdown Flavor | Where it's used |
|---|---|
| Python-Markdown | Docstrings and everything in the repo's docs folder |
| GitHub-flavored Markdown | Only top-level files in the GitHub repo ([README.md], etc) |