Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: configure pre-commit hooks for code formatting #102

Closed
wants to merge 2 commits into from

Conversation

muyihao
Copy link
Contributor

@muyihao muyihao commented Jul 28, 2024

Description

This PR introduces pre-commit hooks to ensure consistent code formatting for both Python and Rust codebases. The changes include:

Pre-commit Hooks: Added pre-commit hooks for formatting Python and Rust code.
Code Formatting: Applied the new pre-commit hooks to format the existing code.

Related issues: #73

How are the changes test-covered

  • N/A
  • Automated tests (unit and/or integration tests)
  • Manual tests
    • Details are described below

yanghao14 added 2 commits July 28, 2024 19:18
- Add Ruff and MyPy configurations to pyproject.toml
- Integrate Python linting in GitHub Actions
- Add pre-commit hooks for Python and Rust code formatting.
- Format existing code using the new pre-commit hooks.
@github-actions github-actions bot added dev-x Dev experience: code format, dev tooling, project management python Related to Python codebase labels Jul 28, 2024
@muyihao muyihao marked this pull request as ready for review July 28, 2024 11:42
@muyihao muyihao closed this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-x Dev experience: code format, dev tooling, project management python Related to Python codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant