From 58469698b08ffcc2f3d5acea2769a1a24735e4b9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:37:23 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](https://github.com/kynan/nbstripout/compare/0.6.1...0.7.1) - [github.com/psf/black: 23.12.1 → 24.2.0](https://github.com/psf/black/compare/23.12.1...24.2.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e9560f8..b2e9a36 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/kynan/nbstripout - rev: 0.6.1 + rev: 0.7.1 hooks: - id: nbstripout files: ".ipynb" - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.2.0 hooks: - id: black \ No newline at end of file From 1ac9d54fc03272cd851ad6863f00e700772981d0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:37:50 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/mypackage/test_transform.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mypackage/test_transform.py b/src/mypackage/test_transform.py index a068eec..e7502ec 100644 --- a/src/mypackage/test_transform.py +++ b/src/mypackage/test_transform.py @@ -6,9 +6,7 @@ import pytest -@pytest.mark.parametrize( - "myinput, myref", [(1, np.pi), (0, 0), (2.1, np.pi * 2.1**2)] -) +@pytest.mark.parametrize("myinput, myref", [(1, np.pi), (0, 0), (2.1, np.pi * 2.1**2)]) def test_area_circ(myinput, myref): assert tf.area_circ(myinput) == myref