Thank you for considering contributing to this project! Your help is greatly appreciated. Please follow these guidelines to ensure a smooth contribution process.
- Fork the repository and clone your fork.
- (Optional) Install Poetry if not already installed:
For more installation options, refer to the Poetry documentation.
pipx install poetry
- Create a virtual environment:
poetry env use python3.12
- Install dependencies using Poetry:
poetry install --with dev,test,docs
- Install pre-commit hook
pre-commit install
- Activate the virtual environment:
poetry shell
- Follow PEP 8 for Python code.
- Format and verify your code using pre-commit, which includes pre-configured linters (
mypy,ruff):pre-commit run --all-files
- Respect the ruff configuration in
pyproject.toml.
This project supports aiohttp, and pydantic, so ensure your changes are compatible with all frameworks where applicable.
- Use pytest for testing:
pytest ./tests
- Ensure 100% test coverage where possible.
- Mock external dependencies appropriately.
- Respect the test configuration in
pyproject.toml.
- Create a new branch:
git checkout -b feature/my-feature
- Make your changes and commit with a clear message:
git commit -m "feature/my-feature: Add new feature." - Push to your fork and open a Pull Request (PR).
- Ensure your PR description includes:
- A summary of changes
- Relevant issue references
- Any necessary documentation updates
- Use MkDocs for documentation where applicable.
- Ensure that docstrings follow the Google docstring style.
- Follow the documentation conventions set in
pyproject.toml.
- Before opening an issue, check if it already exists.
- Provide clear steps to reproduce bugs.
- Suggest possible solutions if applicable.
Thank you for contributing! 🎉