Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 20, 2024
1 parent 778c16b commit fcc5a43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ ci:
autoupdate_commit_msg: "MAINT: update lock files"
autoupdate_schedule: quarterly

skip:
- uv-lock

repos:
- repo: meta
hooks:
Expand Down
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"ms-python.isort",
"ms-python.mypy-type-checker",
"ms-python.pylint",
"ms-toolsai.vscode-jupyter-slideshow",
"streetsidesoftware.code-spell-checker",
"travisillig.vscode-json-stable-stringify",
"tyriar.sort-lines"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ split-on-trailing-comma = false
"RUF001",
"S101",
"T20",
"TCH00",
"TC00",
]
"**/widget.ipynb" = ["ARG001", "ARG002", "S307"]
"docs/*" = [
Expand Down
2 changes: 1 addition & 1 deletion script/makeComparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
with open(".print_amplitudes.log") as file:
for line in file:
if "INTENSITY =" in line:
line = re.sub(" +", " ", line.rstrip().lstrip()) # noqa: PLW2901
line = re.sub(r" +", " ", line.rstrip().lstrip()) # noqa: PLW2901
intensities.append(float(line.split()[2]))
intensities = np.array(intensities)

Expand Down

0 comments on commit fcc5a43

Please sign in to comment.