We welcome contributions! Please follow these steps:
- Ensure your code adheres to the existing style and conventions of the project.
- Write clear, concise, and well-documented code.
- All new features or bug fixes should be accompanied by appropriate tests.
- Keep your pull requests focused on a single feature or bug fix.
- Fork the repository.
- Set up your development environment:
pip install -e ".[dev]" - Create a new branch for your feature or bugfix (e.g.,
git checkout -b feature/my-new-feature).
To enable debug mode for detailed logging, locate the debug_mode variable in src/codegraphcontext/tools/graph_builder.py and set its value to 1.
# src/codegraphcontext/tools/graph_builder.py
debug_mode = 1Please refer to TESTING.md for detailed instructions on running the test suite, adding new tests, and understanding the test architecture.
Quick summary:
./tests/run_tests.sh fast # Run unit + integration tests- Write your code and add corresponding tests in the
tests/directory. - Ensure
fasttests pass locally (./tests/run_tests.sh fast). - Commit your changes with a descriptive commit message.
- Submit a pull request to the
mainbranch.