Skip to content

Commit 396e665

Browse files
chore: update pre-commit hooks (#1002)
* chore: update pre-commit hooks updates: - [github.com/python-jsonschema/check-jsonschema: 0.27.2 → 0.27.3](python-jsonschema/check-jsonschema@0.27.2...0.27.3) - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.3...v4.0.0-alpha.8) - [github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.8.0](pre-commit/mirrors-mypy@v1.7.1...v1.8.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.9](astral-sh/ruff-pre-commit@v0.1.6...v0.1.9) - [github.com/scientific-python/cookie: 2023.11.17 → 2023.12.21](scientific-python/cookie@2023.11.17...2023.12.21) * cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- 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 4ce8c1a commit 396e665

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
groups:
8+
actions:
9+
patterns:
10+
- "*"
711
- package-ecosystem: "pip"
812
directory: "/"
913
schedule:
1014
interval: "weekly"
15+
groups:
16+
actions:
17+
patterns:
18+
- "*"

.pre-commit-config.yaml

Lines changed: 5 additions & 5 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.2
24+
rev: 0.27.3
2525
hooks:
2626
- id: check-github-workflows
2727

@@ -31,13 +31,13 @@ repos:
3131
- id: mdformat
3232

3333
- repo: https://github.com/pre-commit/mirrors-prettier
34-
rev: "v3.0.3"
34+
rev: "v4.0.0-alpha.8"
3535
hooks:
3636
- id: prettier
3737
types_or: [yaml, html, json]
3838

3939
- repo: https://github.com/pre-commit/mirrors-mypy
40-
rev: "v1.7.1"
40+
rev: "v1.8.0"
4141
hooks:
4242
- id: mypy
4343
files: jupyter_client
@@ -66,7 +66,7 @@ repos:
6666
- id: rst-inline-touching-normal
6767

6868
- repo: https://github.com/astral-sh/ruff-pre-commit
69-
rev: v0.1.6
69+
rev: v0.1.9
7070
hooks:
7171
- id: ruff
7272
types_or: [python, jupyter]
@@ -75,7 +75,7 @@ repos:
7575
types_or: [python, jupyter]
7676

7777
- repo: https://github.com/scientific-python/cookie
78-
rev: "2023.11.17"
78+
rev: "2023.12.21"
7979
hooks:
8080
- id: sp-repo-review
8181
additional_dependencies: ["repo-review[cli]"]

tests/test_kernelspecapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_kernelspec_sub_apps(jp_kernel_dir):
1818
prefix = os.path.dirname(os.environ["JUPYTER_DATA_DIR"])
1919
kernel_dir = os.path.join(prefix, "share/jupyter/kernels")
2020
app.kernel_spec_manager.kernel_dirs.append(kernel_dir)
21-
app.prefix = prefix = prefix
21+
app.prefix = prefix
2222
app.initialize([str(jp_kernel_dir)])
2323
with warnings.catch_warnings():
2424
warnings.simplefilter("ignore")

0 commit comments

Comments
 (0)