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

Add pre-commit to manage code style & repo QA #22

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

douglatornell
Copy link
Member

Initial hooks:

  • Code formatting by black
  • Trim trailing whitespace
  • Ensure that files are either empty, or end with one newline
  • Confirm that YAML files have parsable syntax
  • Confirm that XML files have parsable syntax
  • Prevent files larger than 500 kB from being committed

Initial hooks:

* Code formatting by black
* Trim trailing whitespace
* Ensure that files are either empty, or end with one newline
* Confirm that YAML files have parsable syntax
* Confirm that XML files have parsable syntax
* Prevent files larger than 500 kB from being committed
@douglatornell douglatornell added the maintenance Repo & codebase maintenance label Nov 5, 2024
@douglatornell douglatornell merged commit 77985d2 into main Nov 5, 2024
3 checks passed
@douglatornell douglatornell deleted the add-pre-commit branch November 5, 2024 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Repo & codebase maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant