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

Pre-commit hook for code linting #103

Merged
merged 4 commits into from
Aug 12, 2024
Merged

Pre-commit hook for code linting #103

merged 4 commits into from
Aug 12, 2024

Conversation

zhu0619
Copy link
Contributor

@zhu0619 zhu0619 commented Aug 12, 2024

Changelogs

  • Added pre-commit configurations for black and ruff
  • Add pre_commit dependence in env.yaml
  • Few code modifications for linting issue

This PR addresses codebase linting management.

image

Note:
Before committing, ensure that pre-commit is installed and configured; simply pre-commit autoupdate(optional) and run pre-commit install once, and the hooks will automatically check your code every time you make a commit with git commit.

@zhu0619 zhu0619 requested a review from maclandrol as a code owner August 12, 2024 16:23
Copy link
Member

@maclandrol maclandrol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhu0619 zhu0619 merged commit 0a17bb0 into main Aug 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants