Skip to content

Commit b7e2561

Browse files
authored
Merge pull request #104 from yt-project/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents c9d7a15 + ed11fa6 commit b7e2561

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ci:
1212

1313
repos:
1414
- repo: https://github.com/pre-commit/mirrors-clang-format
15-
rev: v17.0.6
15+
rev: v18.1.1
1616
hooks:
1717
- id: clang-format
1818
types_or: ['c++', 'c']

src/TimerControl.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ void TimerControl::CreateFile(const char* filename, int rank) {
2727

2828
// Write heading and basic info
2929
if (m_MPIRank == 0) {
30-
file_out << "{\"otherData\": {"
31-
<< "\"version\": \"" << LIBYT_MAJOR_VERSION << "." << LIBYT_MINOR_VERSION << "." << LIBYT_MICRO_VERSION
32-
<< "\","
33-
<< "\"mode\": "
30+
file_out << "{\"otherData\": {" << "\"version\": \"" << LIBYT_MAJOR_VERSION << "." << LIBYT_MINOR_VERSION << "."
31+
<< LIBYT_MICRO_VERSION << "\"," << "\"mode\": "
3432
#if defined(INTERACTIVE_MODE)
3533
<< "\"interactive_mode\""
3634
#elif defined(JUPYTER_KERNEL)

0 commit comments

Comments
 (0)