From e3b013064534a8a8d32e7113c84b9dda27091b11 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 9 Sep 2023 20:42:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/unit/conservation_rules/test_c_parity.py | 4 +--- tests/unit/conservation_rules/test_parity_conservation.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/unit/conservation_rules/test_c_parity.py b/tests/unit/conservation_rules/test_c_parity.py index 3fec0df7..df261a77 100644 --- a/tests/unit/conservation_rules/test_c_parity.py +++ b/tests/unit/conservation_rules/test_c_parity.py @@ -84,9 +84,7 @@ def test_c_parity_multiparticle_boson(rule_input, expected): ), (s_magnitude + l_magnitude) % 2 == abs(c_parity - 1) / 2, ) - for c_parity, s_magnitude, l_magnitude in product( - [-1, 1], range(5), range(5) - ) + for c_parity, s_magnitude, l_magnitude in product([-1, 1], range(5), range(5)) ], ) def test_c_parity_multiparticle_fermion(rule_input, expected): diff --git a/tests/unit/conservation_rules/test_parity_conservation.py b/tests/unit/conservation_rules/test_parity_conservation.py index 3031accd..1463c9b8 100644 --- a/tests/unit/conservation_rules/test_parity_conservation.py +++ b/tests/unit/conservation_rules/test_parity_conservation.py @@ -24,9 +24,7 @@ NodeQuantumNumbers.l_magnitude(l_magnitude), parity_in == parity_out1 * (-1) ** (l_magnitude), ) - for parity_in, parity_out1, l_magnitude in product( - [-1, 1], [-1, 1], range(5) - ) + for parity_in, parity_out1, l_magnitude in product([-1, 1], [-1, 1], range(5)) ], ) def test_parity_conservation(in_parities, out_parities, l_magnitude, expected):