Skip to content

Add a pre-commit config#109

Merged
davschneller merged 6 commits intomasterfrom
davschneller/precommit
Feb 16, 2026
Merged

Add a pre-commit config#109
davschneller merged 6 commits intomasterfrom
davschneller/precommit

Conversation

@davschneller
Copy link
Copy Markdown
Contributor

Add a pre-commit config, to start formatting the whole repository.

(black/flake etc stay disabled for now, until at least most PRs get merged)

.clang-format Outdated
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this intentionally kept to 11? There was one PR where we said C++17 was required, wasn't there?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Heh; probably not (I just copied it from the SeisSol one; which now also has Cpp11 in it; even though it's C++17 for a much longer time already). Though I doubt it'll change much.
I've adjusted it.

@davschneller davschneller merged commit 20e5a7a into master Feb 16, 2026
8 checks passed
@davschneller davschneller deleted the davschneller/precommit branch February 16, 2026 10:38
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