Thanks for your interest in wom.py! Here are some tips for contributing.
- If you have an idea, but are unsure on the proper implementation - open an issue.
- Implementations should be well tested before opening a pull request.
- Max code line length of 99, max docs line length of 80.
- Code should be formatted with ruff (
ruff format); imports and lint checks are also enforced byruff check. - Code should be PEP 8 compliant.
- Use informative commit messages.
wom.py uses uv for dependency management.
Check out uv's full installation guide for detailed instructions if you aren't familiar with it.
- Create a fork of wom.py, and clone the fork to your local machine.
- Change directory into the project dir.
- Run
uv syncto create a virtual environment and install dependencies (this includes dev deps). - Prefix commands with
uv run(e.g.uv run nox) to run them inside the managed environment, or activate.venvdirectly.
- Check out a new branch to commit your work to, e.g.
git checkout -b bugfix/typing-errors. - Make your changes, then run
uv run noxand address any issues that arise. - Commit your work, using an informative commit message.
- Open a pull request into the master branch of this repository.
After submitting your PR, it will be reviewed (and hopefully merged!). Thanks again for taking the time to read this contributing guide, and for your interest in wom.py. I look forward to working with you.