From fcff710632b67933b09de7bc5efafc5aa5a12a50 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 12:59:42 +0200 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#790) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- examples/dbcsr_example_3.cpp | 4 ++-- tests/dbcsr_test.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2568096753a..faccf75d4de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ fail_fast: false minimum_pre_commit_version: 3.2.0 repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.4.3' + rev: 'v0.4.4' hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] diff --git a/examples/dbcsr_example_3.cpp b/examples/dbcsr_example_3.cpp index a59c4d23adc..a49a169ff4d 100644 --- a/examples/dbcsr_example_3.cpp +++ b/examples/dbcsr_example_3.cpp @@ -53,8 +53,8 @@ int main(int argc, char* argv[]) { for (int i = 0; i != mpi_size; ++i) { if (mpi_rank == i) { - std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc" << ", (" << coord[0] << ", " << coord[1] - << ") in the 2D grid" << std::endl; + std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc" + << ", (" << coord[0] << ", " << coord[1] << ") in the 2D grid" << std::endl; } MPI_Barrier(MPI_COMM_WORLD); } diff --git a/tests/dbcsr_test.cpp b/tests/dbcsr_test.cpp index b7865101440..e7fa02bb0d4 100644 --- a/tests/dbcsr_test.cpp +++ b/tests/dbcsr_test.cpp @@ -51,8 +51,8 @@ int main(int argc, char* argv[]) { for (int i = 0; i != mpi_size; ++i) { if (mpi_rank == i) { - std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc" << ", (" << coord[0] << ", " << coord[1] - << ") in the 2D grid" << std::endl; + std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc" + << ", (" << coord[0] << ", " << coord[1] << ") in the 2D grid" << std::endl; } MPI_Barrier(MPI_COMM_WORLD); }