Contributing¶
Thank you for your interest in contributing to Kube-IDEA! 🎉
Getting started¶
- Fork the repository and clone your fork.
-
Install dependencies:
-
Create a feature branch:
-
Make your changes and ensure all checks pass:
-
Commit with a clear message and open a Pull Request.
Code style¶
- Follow the rules enforced by ruff (config in
pyproject.toml). - All public functions and classes must have type annotations and docstrings.
- Maximum line length: 120 characters.
Tests¶
- Place tests under
tests/. - Use
pytest; async tests usepytest-asyncio. - Aim for ≥ 80 % code coverage.
Documentation¶
- Docs source lives in
docs/and uses MkDocs with the Material theme. -
Preview locally:
Commit conventions¶
Use clear, descriptive commit messages. Prefix with a type when possible:
| Prefix | Usage |
|---|---|
feat: |
New feature |
fix: |
Bug fix |
docs: |
Documentation only |
test: |
Adding or updating tests |
chore: |
Maintenance / tooling |
refactor: |
Code changes without behavior change |