Skip to content

Commit fd5bec9

Browse files
chore: update pre-commit hooks (#2076)
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 1c960d6 commit fd5bec9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: .pre-commit-config.yaml

+4-4
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.1
24+
rev: 0.27.2
2525
hooks:
2626
- id: check-github-workflows
2727

@@ -51,7 +51,7 @@ repos:
5151
args: ["-L", "sur,nd"]
5252

5353
- repo: https://github.com/pre-commit/mirrors-mypy
54-
rev: "v1.6.1"
54+
rev: "v1.7.1"
5555
hooks:
5656
- id: mypy
5757
files: "^nbconvert"
@@ -81,7 +81,7 @@ repos:
8181
- id: rst-inline-touching-normal
8282

8383
- repo: https://github.com/astral-sh/ruff-pre-commit
84-
rev: v0.1.4
84+
rev: v0.1.6
8585
hooks:
8686
- id: ruff
8787
types_or: [python, jupyter]
@@ -90,7 +90,7 @@ repos:
9090
types_or: [python, jupyter]
9191

9292
- repo: https://github.com/scientific-python/cookie
93-
rev: "2023.10.27"
93+
rev: "2023.11.17"
9494
hooks:
9595
- id: sp-repo-review
9696
additional_dependencies: ["repo-review[cli]"]

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1396,6 +1396,7 @@ raw template
13961396
{%- endblock in_prompt -%}
13971397
"""
13981398

1399+
13991400
exporter_attr = AttrExporter()
14001401
output_attr, _ = exporter_attr.from_notebook_node(nb)
14011402
assert "raw template" in output_attr

Diff for: pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ source = ["nbconvert"]
179179
files = "nbconvert"
180180
python_version = "3.8"
181181
strict = true
182-
show_error_codes = true
183182
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
184183
disable_error_code = ["no-untyped-def", "no-untyped-call"]
185184
warn_unreachable = true
@@ -250,7 +249,7 @@ fail-under=100
250249
exclude = ["tests", "docs"]
251250

252251
[tool.repo-review]
253-
ignore = ["PY007", "GH102"]
252+
ignore = ["GH102"]
254253

255254

256255
[tool.codespell]

0 commit comments

Comments
 (0)