Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update pre-commit hooks #145

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
rev: "v5.0.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -25,41 +25,41 @@ repos:
exclude: '^attic/auto_prod/monitoring\.py$|^attic/auto_prod/main_sync_code\.py$'

- repo: https://github.com/asottile/setup-cfg-fmt
rev: "v2.5.0"
rev: "v2.7.0"
hooks:
- id: setup-cfg-fmt

- repo: https://github.com/PyCQA/isort
rev: "5.13.2"
rev: "6.0.1"
hooks:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: "v3.15.0"
rev: "v3.19.1"
hooks:
- id: pyupgrade
args: ["--py38-plus"]

- repo: https://github.com/psf/black
rev: "24.1.1"
rev: "25.1.0"
hooks:
- id: black-jupyter

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.8.0"
rev: "v1.15.0"
hooks:
- id: mypy
files: src
stages: [manual]

- repo: https://github.com/hadialqattan/pycln
rev: "v2.4.0"
rev: "v2.5.0"
hooks:
- id: pycln
args: ["--all"]

- repo: https://github.com/PyCQA/flake8
rev: "7.0.0"
rev: "7.1.2"
hooks:
- id: flake8
additional_dependencies: [
Expand All @@ -71,25 +71,25 @@ repos:
args: ["--docstring-convention", "numpy"] # or google, change me

- repo: https://github.com/kynan/nbstripout
rev: "0.7.1"
rev: "0.8.1"
hooks:
- id: nbstripout
args: ["--drop-empty-cells",
"--extra-keys", "metadata.kernelspec metadata.language_info"]

- repo: https://github.com/mgedmin/check-manifest
rev: "0.49"
rev: "0.50"
hooks:
- id: check-manifest
stages: [manual]

- repo: https://github.com/codespell-project/codespell
rev: "v2.2.6"
rev: "v2.4.1"
hooks:
- id: codespell

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.9.0.6"
rev: "v0.10.0.1"
hooks:
- id: shellcheck

Expand Down
2 changes: 1 addition & 1 deletion src/legend_data_monitor/slow_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get_sc_param(self):
if "vmon" in self.parameter:
unit = "V"
elif "imon" in self.parameter:
unit = "\u03BCA"
unit = "\u03bcA"
else:
unit = None

Expand Down
Loading