mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-24 14:20:54 +08:00
chore: update pre-commit hooks (#7174)
* chore: update pre-commit hooks updates: - [github.com/python-jsonschema/check-jsonschema: 0.27.1 → 0.27.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.27.1...0.27.2) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.7.1) - [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.5...v0.1.6) - [github.com/scientific-python/cookie: 2023.10.27 → 2023.11.17](https://github.com/scientific-python/cookie/compare/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 <jeremy.tuloup@gmail.com>
This commit is contained in:
parent
42fffbb725
commit
644c393580
@ -21,7 +21,7 @@ repos:
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.27.1
|
||||
rev: 0.27.2
|
||||
hooks:
|
||||
- id: check-github-workflows
|
||||
|
||||
@ -44,7 +44,7 @@ repos:
|
||||
)$
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: "v1.6.1"
|
||||
rev: "v1.7.1"
|
||||
hooks:
|
||||
- id: mypy
|
||||
files: "^notebook"
|
||||
@ -60,7 +60,7 @@ repos:
|
||||
- id: rst-inline-touching-normal
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.1.5
|
||||
rev: v0.1.6
|
||||
hooks:
|
||||
- id: ruff
|
||||
types_or: [ python, jupyter ]
|
||||
@ -71,7 +71,7 @@ repos:
|
||||
exclude: '^docs/source/examples/Notebook/Importing Notebooks.ipynb'
|
||||
|
||||
- repo: https://github.com/scientific-python/cookie
|
||||
rev: '2023.10.27'
|
||||
rev: '2023.11.17'
|
||||
hooks:
|
||||
- id: sp-repo-review
|
||||
additional_dependencies: ['repo-review[cli]']
|
||||
|
@ -231,7 +231,7 @@ source = ["notebook"]
|
||||
files = "notebook"
|
||||
python_version = "3.8"
|
||||
strict = true
|
||||
show_error_codes = true
|
||||
hide_error_codes = false
|
||||
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
|
||||
warn_unreachable = true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user