From b9d2b57f79f8a01e3d5e947a72e2ecc1b7302493 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 19:04:01 +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/psf/black-pre-commit-mirror: 23.11.0 → 23.12.0](https://github.com/psf/black-pre-commit-mirror/compare/23.11.0...23.12.0) - [github.com/PyCQA/isort: 5.13.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.13.0...5.13.2) --- .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 eaf1ebe..d91a711 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - flake8-print # Using this mirror lets us use mypyc-compiled black, which is about 2x faster - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.11.0 + rev: 23.12.0 hooks: - id: black - repo: https://github.com/pre-commit/pygrep-hooks @@ -41,7 +41,7 @@ repos: hooks: - id: rst-backticks - repo: https://github.com/PyCQA/isort - rev: 5.13.0 + rev: 5.13.2 hooks: - id: isort From 7d60302aa9bd031a492111309ad0d4d255e29e74 Mon Sep 17 00:00:00 2001 From: Steven Murray Date: Tue, 19 Dec 2023 09:18:14 +0100 Subject: [PATCH 2/2] style: remove useless tuple expression --- tests/test_growth.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_growth.py b/tests/test_growth.py index 11fbfcb..2c91e39 100644 --- a/tests/test_growth.py +++ b/tests/test_growth.py @@ -28,7 +28,6 @@ def test_gf(z, gf, genf): @pytest.mark.parametrize("z", np.arange(0, 8, 0.5)) def test_gr(z, gf, genf): - gf.growth_rate(z), genf.growth_rate(z) assert np.isclose(gf.growth_rate(z), genf.growth_rate(z), rtol=1e-2 + z / 100.0)