Thanks for your interest in contributing to triggerdev-python.
Use the issue templates to file bug reports or feature requests. Please search existing issues first to avoid duplicates.
For security vulnerabilities, see SECURITY.md.
This project requires Python 3.10 or later and uses uv for dependency management.
git clone https://github.com/mehmetkr/triggerdev-python.git
cd triggerdev-python
uv sync --frozen --all-extrasThe CI pipeline runs these checks. Run them locally before opening a PR:
uv run ruff check src/ tests/ # lint
uv run ruff format --check src/ tests/ # format
uv run mypy src/ # type check (mypy strict)
uv run pyright --pythonpath .venv/bin/python src/ # type check (pyright strict)
uv run pytest -q # testsTo auto-fix lint and format issues:
uv run ruff check --fix src/ tests/
uv run ruff format src/ tests/- Type annotations on all functions and variables. The project enforces pyright strict and mypy strict with zero errors.
- Ruff handles linting and formatting. No additional configuration needed.
- American English in all documentation and comments.
- Fork the repository and create a branch from
main. - Make your changes, ensuring all checks pass locally.
- Write or update tests for your changes.
- Use Conventional Commits for your commit messages (e.g.,
feat: add batch cancel,fix: handle empty response). - Open a pull request using the provided template.
Pull requests require all CI checks to pass before merging.
By contributing, you agree that your contributions will be licensed under the MIT License.