Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Report bugs at https://github.com/belingud/gptcomet/issues
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
Look through the GitHub issues for bugs. Anything tagged with "bug" and "help wanted" is open to whoever wants to implement a fix for it.
Look through the GitHub issues for features. Anything tagged with "enhancement" and "help wanted" is open to whoever wants to implement it.
GPTComet could always use more documentation, whether as part of the official docs, in docstrings, or even on the web in blog posts, articles, and such.
The best way to send feedback is to file an issue at https://github.com/belingud/gptcomet/issues.
If you are proposing a new feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
Ready to contribute? Here's how to set up gptcomet for local development.
- Install Go (version 1.20 or higher): https://go.dev/doc/install
- Install Python (version 3.9 or higher): https://www.python.org/downloads/
- Install uv: pip install uv
git clone [email protected]:YOUR_NAME/gptcomet.git cd gptcomet
go mod download
uv sync
git checkout -b feature/your-feature-name
# Run Go tests just test # Run Python tests just test-py
just check
git add . git commit -m "Your detailed description of your changes."
git push origin feature/your-feature-name
Before you submit a pull request, check that it meets these guidelines:
- The pull request should include tests for both Go and Python code.
- Go code should pass all linters and formatters (run just check).
- Python code should pass all linters and formatters.
- If the pull request adds functionality, the docs should be updated.
- New Go code should include proper documentation and examples.
- Follow the project's coding style and conventions.
Go: - Use gofmt and goimports for formatting - Follow Effective Go guidelines: https://go.dev/doc/effective_go - Use descriptive variable names - Keep functions small and focused
Python: - Follow PEP 8 style guide - Use type hints where appropriate - Keep functions small and focused - Use descriptive variable names
We use the following testing frameworks:
- Go: standard testing package
- Python: pytest
All new code should include appropriate tests. Test coverage should be maintained or improved with each contribution.
Documentation is maintained in the following locations:
- Go: godoc comments in source files
- Python: docstrings in source files
- Project documentation: README.md, CONTRIBUTING.rst
Please update relevant documentation when adding new features or changing existing functionality.