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.ci] pre-commit autoupdate #104

Merged
merged 2 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
rev: v18.1.1
hooks:
- id: clang-format
types_or: ['c++', 'c']
Expand Down
6 changes: 2 additions & 4 deletions src/TimerControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ void TimerControl::CreateFile(const char* filename, int rank) {

// Write heading and basic info
if (m_MPIRank == 0) {
file_out << "{\"otherData\": {"
<< "\"version\": \"" << LIBYT_MAJOR_VERSION << "." << LIBYT_MINOR_VERSION << "." << LIBYT_MICRO_VERSION
<< "\","
<< "\"mode\": "
file_out << "{\"otherData\": {" << "\"version\": \"" << LIBYT_MAJOR_VERSION << "." << LIBYT_MINOR_VERSION << "."
<< LIBYT_MICRO_VERSION << "\"," << "\"mode\": "
#if defined(INTERACTIVE_MODE)
<< "\"interactive_mode\""
#elif defined(JUPYTER_KERNEL)
Expand Down
Loading