Thank you for your interest in contributing! This document provides guidelines and instructions for contributing to this project.
-
Fork the repository on GitHub
-
Clone your fork locally:
git clone https://github.com/yourusername/BeaconDetectionSystemGit.git cd BeaconDetectionSystemGit -
Set up the development environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt pip install -r requirements-dev.txt
-
Create a feature branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them with clear messages:
git commit -m "Add: brief description of changes" -
Run tests and linting:
pytest pylint control_plane data_plane black --check control_plane data_plane
-
Push to your fork:
git push origin feature/your-feature-name
-
Create a Pull Request with a clear description of your changes
- Write tests for new features in the
tests/directory - Ensure all tests pass:
pytest - Aim for high test coverage, especially for critical components
- Use descriptive test names that explain what is being tested
- Use GitHub Issues for bug reports and feature requests
- Provide clear steps to reproduce bugs
- Include relevant system information and logs
- Update relevant documentation for new features
- Keep the README.md up to date
Feel free to open an issue or discussion for questions.