Skip to content

Commit cf1fdec

Browse files
chore: update pre-commit hooks (#551)
* chore: update pre-commit hooks updates: - [github.com/python-jsonschema/check-jsonschema: 0.27.3 → 0.27.4](python-jsonschema/check-jsonschema@0.27.3...0.27.4) - [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.9...v0.2.0) - [github.com/scientific-python/cookie: 2023.12.21 → 2024.01.24](scientific-python/cookie@2023.12.21...2024.01.24) * lint --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <[email protected]>
1 parent 8568b9b commit cf1fdec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/generate-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ jobs:
5555
5656
- uses: actions/upload-artifact@v4
5757
with:
58-
name: changelog
58+
name: changelog-${{ github.job }}-${{ strategy.job-index }}
5959
path: CHANGELOG_ENTRY.md

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: trailing-whitespace
2222

2323
- repo: https://github.com/python-jsonschema/check-jsonschema
24-
rev: 0.27.3
24+
rev: 0.27.4
2525
hooks:
2626
- id: check-github-workflows
2727

@@ -70,14 +70,14 @@ repos:
7070
- id: rst-inline-touching-normal
7171

7272
- repo: https://github.com/astral-sh/ruff-pre-commit
73-
rev: v0.1.9
73+
rev: v0.2.0
7474
hooks:
7575
- id: ruff
7676
args: ["--fix", "--show-fixes"]
7777
- id: ruff-format
7878

7979
- repo: https://github.com/scientific-python/cookie
80-
rev: "2023.12.21"
80+
rev: "2024.01.24"
8181
hooks:
8282
- id: sp-repo-review
8383
additional_dependencies: ["repo-review[cli]"]

jupyter_releaser/npm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def extract_dist(dist_dir, target, repo=""):
101101
os.makedirs(pkg_dir.parent)
102102

103103
tar = tarfile.open(path)
104-
tar.extractall(target)
104+
tar.extractall(target) # noqa: S202
105105
tar.close()
106106

107107
if "main" in data:

0 commit comments

Comments
 (0)