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

Set up pre-commit for nmdc-server #1580

Open
naglepuff opened this issue Mar 26, 2025 · 0 comments
Open

Set up pre-commit for nmdc-server #1580

naglepuff opened this issue Mar 26, 2025 · 0 comments

Comments

@naglepuff
Copy link
Collaborator

I only have limited experience with pre-commit, but I see it can add value, such as automatically formatting files before you can commit them. I think it might be worthwhile to set up pre-commit to at least format python code and typescript code. It would clean up the git history, and make for fewer errors in CI that could have easily been prevented. (I know I for one am guilty of authoring many commits that only format code)

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

No branches or pull requests

1 participant