We welcome contributions to smoltrace! Please see the guidelines below for how to contribute.
This project adheres to the Contributor Covenant Code of Conduct. Please see the CODE_OF_CONDUCT.md file for more details.
If you find a bug, please report it by opening an issue on our GitHub Issues page.
We welcome feature requests! Please open an issue on our GitHub Issues page with a clear description of the feature you'd like to see.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/your-username/smoltrace.git cd smoltrace - Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Make your changes and ensure they are well-tested.
- Add tests for your changes. See the
tests/directory for examples. - Run linters and tests to ensure your code meets our standards:
# Example commands (adjust as needed based on project setup) ruff check . pytest
- Commit your changes:
git commit -am "Add your descriptive commit message" - Push to the branch:
git push origin feature/your-feature-name
- Open a Pull Request on the original repository.
To set up the development environment, follow these steps:
- Clone the repository and navigate to the project directory.
- Create a virtual environment (recommended):
python -m venv .venv source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
- Install the project in editable mode with development dependencies:
pip install -e .[dev]
- Ensure your fork is up-to-date with the main repository.
- Create a new branch for your changes.
- Submit a pull request with a clear title and description.
- Your pull request will be reviewed by the maintainers.
- Address any feedback from the review.
(Optional: Add a brief overview of the project structure if it's complex.)
By contributing to this project, you agree that your contributions will be licensed under the Apache 2.0 License.