Contributing¶
Contributions to SMOLTRACE are welcome. Here's how to get started.
Development Setup¶
git clone https://github.com/Mandark-droid/SMOLTRACE.git
cd SMOLTRACE
python -m venv .venv
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
pip install -e .[dev]
Running Tests¶
See the tests/ directory for examples.
Code Quality¶
SMOLTRACE uses black, isort, and ruff (all configured for a line length of 100):
black smoltrace tests # Format (line length: 100)
isort smoltrace tests # Sort imports (black profile)
ruff check . # Lint
Reporting Bugs & Requesting Features¶
Open an issue on the GitHub Issues page with a clear description.
Pull Request Process¶
- Fork the repository on GitHub.
-
Create a new branch for your feature or bug fix:
-
Make your changes and add tests for them.
- Run the linters and tests to ensure your code meets the project's standards.
- Commit your changes with a clear, descriptive message.
- Push to your branch and open a Pull Request to
main. - Address any feedback from the maintainers' review.
License¶
By contributing, you agree that your contributions will be licensed under the Apache-2.0 License.