From a0d6e400a5e79b51964323da362f862d1f7c546b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:22:58 +0200 Subject: [PATCH] chore(deps): update pre-commit-deps (#114) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Milan Vukov --- .pre-commit-config.yaml | 6 +++--- optimus/testing/eigen_matchers.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f26fcc3..6c8877a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,17 +42,17 @@ repos: - id: yapf args: [-i, --style, .style.yapf] - repo: https://github.com/asottile/reorder_python_imports - rev: v3.12.0 + rev: v3.13.0 hooks: - id: reorder-python-imports args: [--py37-plus] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.1 + rev: v0.4.9 hooks: - id: ruff args: [--fix, --show-fixes, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v18.1.4 + rev: v18.1.6 hooks: - id: clang-format - repo: https://github.com/cpplint/cpplint diff --git a/optimus/testing/eigen_matchers.h b/optimus/testing/eigen_matchers.h index 9cb0713..ba83f97 100644 --- a/optimus/testing/eigen_matchers.h +++ b/optimus/testing/eigen_matchers.h @@ -72,8 +72,8 @@ class EigenNearMatcher { equal = false; if (listener != nullptr) { *listener << std::endl - << "matrices differ at (" << row << ", " << col - << "): " << " expected " << expected_value << ", got " + << "matrices differ at (" << row << ", " << col << "): " + << " expected " << expected_value << ", got " << actual_value << ", abs(diff)=" << std::abs(expected_value - actual_value); }