Skip to content

Commit

Permalink
chore(deps): update pre-commit hooks (#480)
Browse files Browse the repository at this point in the history
* chore(deps): update pre-commit hooks

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.255 → v0.0.257](astral-sh/ruff-pre-commit@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>
  • Loading branch information
pre-commit-ci[bot] authored Mar 21, 2023
1 parent 1bd757c commit feab020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion tests/particle/test_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit feab020

Please sign in to comment.