Skip to content

Commit

Permalink
chore: update pre-commit hooks (#551)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
pre-commit-ci[bot] and blink1073 authored Feb 7, 2024
1 parent 8568b9b commit cf1fdec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: changelog
name: changelog-${{ github.job }}-${{ strategy.job-index }}
path: CHANGELOG_ENTRY.md
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.27.4
hooks:
- id: check-github-workflows

Expand Down Expand Up @@ -70,14 +70,14 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.2.0
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format

- repo: https://github.com/scientific-python/cookie
rev: "2023.12.21"
rev: "2024.01.24"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
2 changes: 1 addition & 1 deletion jupyter_releaser/npm.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def extract_dist(dist_dir, target, repo=""):
os.makedirs(pkg_dir.parent)

tar = tarfile.open(path)
tar.extractall(target)
tar.extractall(target) # noqa: S202
tar.close()

if "main" in data:
Expand Down

0 comments on commit cf1fdec

Please sign in to comment.