From a7d6cca58c51a06f29d78ea4522e25ac3a4de95d Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Tue, 7 Feb 2023 08:28:00 +0100
Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#345)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)

* [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 +-
 unittest/python/test_eigen_ref.py     | 1 -
 unittest/python/test_return_by_ref.py | 2 --
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 03d3a07..5aef07d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -11,7 +11,7 @@ repos:
     hooks:
     -   id: trailing-whitespace
 -   repo: https://github.com/psf/black
-    rev: 22.12.0
+    rev: 23.1.0
     hooks:
     -   id: black
 -   repo: https://github.com/cheshirekow/cmake-format-precommit
diff --git a/unittest/python/test_eigen_ref.py b/unittest/python/test_eigen_ref.py
index 8d466f1..6c934af 100644
--- a/unittest/python/test_eigen_ref.py
+++ b/unittest/python/test_eigen_ref.py
@@ -15,7 +15,6 @@ from eigen_ref import (
 
 
 def test_fill_print(mat):
-
     print("print matrix:")
     printMatrix(mat)
     print("calling fill():")
diff --git a/unittest/python/test_return_by_ref.py b/unittest/python/test_return_by_ref.py
index dff108c..e43735d 100644
--- a/unittest/python/test_return_by_ref.py
+++ b/unittest/python/test_return_by_ref.py
@@ -4,7 +4,6 @@ import numpy as np
 
 
 def test_shared(mat):
-
     m_ref = mat.ref()
     m_ref.fill(0)
     m_copy = mat.copy()
@@ -26,7 +25,6 @@ def test_shared(mat):
 
 
 def test_not_shared(mat):
-
     m_ref = mat.ref()
     m_ref.fill(100.0)
     m_copy = mat.copy()
-- 
GitLab