Skip to content

Commit 644c393

Browse files
chore: update pre-commit hooks (#7174)
* chore: update pre-commit hooks updates: - [github.com/python-jsonschema/check-jsonschema: 0.27.1 → 0.27.2](python-jsonschema/check-jsonschema@0.27.1...0.27.2) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](pre-commit/mirrors-mypy@v1.6.1...v1.7.1) - [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](astral-sh/ruff-pre-commit@v0.1.5...v0.1.6) - [github.com/scientific-python/cookie: 2023.10.27 → 2023.11.17](scientific-python/cookie@2023.10.27...2023.11.17) * Update pyproject.toml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jeremy Tuloup <[email protected]>
1 parent 42fffbb commit 644c393

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.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

@@ -44,7 +44,7 @@ repos:
4444
)$
4545
4646
- repo: https://github.com/pre-commit/mirrors-mypy
47-
rev: "v1.6.1"
47+
rev: "v1.7.1"
4848
hooks:
4949
- id: mypy
5050
files: "^notebook"
@@ -60,7 +60,7 @@ repos:
6060
- id: rst-inline-touching-normal
6161

6262
- repo: https://github.com/astral-sh/ruff-pre-commit
63-
rev: v0.1.5
63+
rev: v0.1.6
6464
hooks:
6565
- id: ruff
6666
types_or: [ python, jupyter ]
@@ -71,7 +71,7 @@ repos:
7171
exclude: '^docs/source/examples/Notebook/Importing Notebooks.ipynb'
7272

7373
- repo: https://github.com/scientific-python/cookie
74-
rev: '2023.10.27'
74+
rev: '2023.11.17'
7575
hooks:
7676
- id: sp-repo-review
7777
additional_dependencies: ['repo-review[cli]']

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ source = ["notebook"]
231231
files = "notebook"
232232
python_version = "3.8"
233233
strict = true
234-
show_error_codes = true
234+
hide_error_codes = false
235235
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
236236
warn_unreachable = true
237237

0 commit comments

Comments
 (0)