From a6f2bac059b84e9e4f12bdd2ef76825be05cb7c0 Mon Sep 17 00:00:00 2001 From: Nathaniel Starkman Date: Mon, 20 Jan 2025 21:38:56 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20ci(pre-commit):=20update=20to=20?= =?UTF-8?q?manual=20pre-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nathaniel Starkman --- .github/workflows/ci.yml | 5 ++--- tests/integration/quaxed/test_numpy.py | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfb8c987..e1ec85e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,9 +37,8 @@ jobs: - name: Install the project run: uv sync --group nox - # - uses: pre-commit/action@v3.0.1 - # with: - # extra_args: --hook-stage manual --all-files + - uses: pre-commit/action@v3.0.1 + - name: Run PyLint run: uv run nox -s pylint -- --output-format=github diff --git a/tests/integration/quaxed/test_numpy.py b/tests/integration/quaxed/test_numpy.py index 621c77e4..5bdd5191 100644 --- a/tests/integration/quaxed/test_numpy.py +++ b/tests/integration/quaxed/test_numpy.py @@ -521,7 +521,6 @@ def test_bitwise_left_shift(): assert jnp.array_equal(got.value, expected.value) -@pytest.mark.xfail(reason="TODO") def test_bitwise_invert(): """Test `bitwise_invert`.""" x = u.Quantity(jnp.asarray([1, 2, 3], dtype=int), "") @@ -836,7 +835,6 @@ def test_logical_and(): assert jnp.array_equal(got, expected) -@pytest.mark.xfail(reason="TODO") def test_logical_not(): """Test `logical_not`.""" x = u.Quantity([True, False, True], "")