We’re excited you want to contribute! This project is both a learning space and a production-ready system, so we value contributions that improve quality and maintainability.
- Fork the repository and clone your fork
- Create a new branch:
git checkout -b feature/my-feature - Install dependencies:
pip install -r requirements.txt - Copy
.env.example→.envand fill in secrets (Telegram token, DB URL) - Run services with Docker:
docker-compose up
- Follow PEP8
- Use black for formatting
- Use ruff for linting
- Use mypy for type checks
- Security scanning with bandit
Run all checks:
black .
ruff check .
mypy .
pytest-
Write clear commit messages
-
Reference related issues (Fixes #123)
-
Ensure tests pass in CI before requesting review
-
Keep PRs focused (small and atomic)
We use pytest and pytest-asyncio. New features should include test coverage.
pytest --cov=app-
Use GitHub Issues for bugs and feature requests
-
Use GitHub Discussions (if enabled) for broader topics
Thanks for helping us build a robust, professional, and welcoming community around JDINBot!
- Add
.env.example - Write GitHub Actions workflow (
.github/workflows/ci.yml) - Set up pre-commit hooks