We welcome your contributions to this repository. To ensure elegant code style and better code quality, we have prepared the following contribution guidelines.
- This PR fixes a typo or improves the documentation (if this is the case, you may skip the other checks).
- This PR fixes a specific issue — please reference the issue number in the PR description. Make sure your code strictly follows the coding standards below.
- This PR introduces a new feature — please clearly explain the necessity and implementation of the feature. Make sure your code strictly follows the coding standards below.
Good code style is an art. We have prepared a pre-commit hook to enforce consistent code
formatting across the project. You can clean up your code following the steps below:
pre-commit run --all-filesIf your code complies with the standards, you should not see any errors.
- Please use English for naming; do not use Pinyin or other languages. All comments should also be in English.
- Follow PEP8 naming conventions strictly, and use underscores to separate words. Avoid meaningless names such as
a,b,c.
Before PR, Please run:
cd glmv-reward/
uv sync
uv run poe lint
uv run poe typecheck