From feab020b0cf67903b9e0983e62a8d3748c48bd6f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 21 Mar 2023 08:51:48 +0100 Subject: [PATCH] chore(deps): update pre-commit hooks (#480) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update pre-commit hooks updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.255 → v0.0.257](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.255...v0.0.257) * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- tests/particle/test_generation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 19cc90df..917fc50c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: black-jupyter - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.255" + rev: "v0.0.257" hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/tests/particle/test_generation.py b/tests/particle/test_generation.py index 5f4dc697..845e5305 100644 --- a/tests/particle/test_generation.py +++ b/tests/particle/test_generation.py @@ -57,7 +57,7 @@ def test_csv_file_has_latex(filename): particle_data = data.basepath / filename p = pd.read_csv(particle_data, comment="#") - assert p[p.Latex == ""].empty # noqa: PLC1901 + assert p[p.Latex == ""].empty check_nucleons = (