Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 2.48 KB

CONTRIBUTING.md

File metadata and controls

56 lines (42 loc) · 2.48 KB

Contributing to cua

We deeply appreciate your interest in contributing to cua! Whether you're reporting bugs, suggesting enhancements, improving docs, or submitting pull requests, your contributions help improve the project for everyone.

Reporting Bugs

If you've encountered a bug in the project, we encourage you to report it. Please follow these steps:

  1. Check the Issue Tracker: Before submitting a new bug report, please check our issue tracker to see if the bug has already been reported.
  2. Create a New Issue: If the bug hasn't been reported, create a new issue with:
    • A clear title and detailed description
    • Steps to reproduce the issue
    • Expected vs actual behavior
    • Your environment (macOS version, lume version)
    • Any relevant logs or error messages
  3. Label Your Issue: Label your issue as a bug to help maintainers identify it quickly.

Suggesting Enhancements

We're always looking for suggestions to make lume better. If you have an idea:

  1. Check Existing Issues: See if someone else has already suggested something similar.
  2. Create a New Issue: If your enhancement is new, create an issue describing:
    • The problem your enhancement solves
    • How your enhancement would work
    • Any potential implementation details
    • Why this enhancement would benefit lume users

Code Formatting

We follow strict code formatting guidelines to ensure consistency across the codebase. Before submitting any code:

  1. Review Our Format Guide: Please review our Code Formatting Standards section in the Getting Started guide.
  2. Configure Your IDE: We recommend using the workspace settings provided in .vscode/ for automatic formatting.
  3. Run Formatting Tools: Always run the formatting tools before submitting a PR:
    # For Python code
    pdm run black .
    pdm run ruff check --fix .
  4. Validate Your Code: Ensure your code passes all checks:
    pdm run mypy .

Documentation

Documentation improvements are always welcome. You can:

  • Fix typos or unclear explanations
  • Add examples and use cases
  • Improve API documentation
  • Add tutorials or guides

For detailed instructions on setting up your development environment and submitting code contributions, please see our Developer-Guide guide.

Feel free to join our Discord community to discuss ideas or get help with your contributions.