Contributing Guidelines¶
Code Style¶
- Follow Google Python Style Guide
- Use
pyinkfor formatting - Use
isortfor import sorting - Run
autoformat.shbefore committing
Commit Messages¶
Follow Conventional Commits format:
Pull Request Process¶
- Create feature branch
- Make changes with tests
- Run tests and linting
- Update documentation
- Submit PR with description
Third-Party Dependencies¶
External benchmarks and tools live under third_party/ and are vendored via git subtree. To add a new one:
git subtree add --prefix third_party/cybergym \
https://github.com/sunblaze-ucb/cybergym.git main --squash
Swap the prefix, URL, and branch for the dependency you are adding. The --squash flag keeps the upstream history out of the main repo log.