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-config #50

Merged
merged 10 commits into from
Sep 15, 2023
Merged

Add .pre-commit-config #50

merged 10 commits into from
Sep 15, 2023

Conversation

simon-ess
Copy link
Contributor

@simon-ess simon-ess commented Mar 7, 2023

Add a .pre-commit-config.yaml file, as well as a workflow to run it every time. The pre-commit hooks in use are:

  • end-of-file fixer
  • trailing-whitespace
  • clang-format

The .db files were also formatted with dbformat (https://gitlab.esss.lu.se/e3/dbformat), but the pre-commit hook has some issues and so is not included.

@simon-ess simon-ess force-pushed the add_pre_commit branch 3 times, most recently from 74c42c9 to f731c56 Compare March 9, 2023 17:27
@simon-ess simon-ess merged commit cff81de into master Sep 15, 2023
9 checks passed
@anjohnson anjohnson deleted the add_pre_commit branch August 8, 2024 17:58
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