Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.1](astral-sh/ruff-pre-commit@v0.8.6...v0.9.1)
- [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.0](python-jsonschema/check-jsonschema@0.30.0...0.31.0)

* 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 Jan 13, 2025
1 parent b75fc14 commit b42777a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
types_or: [yaml, markdown, html, css, scss, javascript, json]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.8.6"
rev: "v0.9.1"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -79,7 +79,7 @@ repos:
additional_dependencies: ["validate-pyproject-schema-store[all]"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.30.0"
rev: "0.31.0"
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
2 changes: 1 addition & 1 deletion tests/confinement/test_confinment_ge.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def make_plot(vert, hit):
ax[1].set_xticks(np.arange(len(names)), names, rotation=90, fontsize=10)
ax[1].axhline(y=0, color="red")
ax[1].grid()
fig.suptitle(f"confinment check for HPGes, p = {100*p:.1e} %")
fig.suptitle(f"confinment check for HPGes, p = {100 * p:.1e} %")
caption = "The fraction of the vertices found inside each HPGe. This is compared to the expectation which is that the number "
caption += "should be proportional to the volume of the HPGe. The top panel shows the fraction in each detector "
caption += r"while the lower panel shows the relative difference in % from the expectation."
Expand Down

0 comments on commit b42777a

Please sign in to comment.