|
|
|
|
@ -50,7 +50,7 @@ repos:
|
|
|
|
|
files: "^notebook"
|
|
|
|
|
stages: [manual]
|
|
|
|
|
args: ["--install-types", "--non-interactive"]
|
|
|
|
|
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.9", "jupyterlab_server>=2.25", "jupyterlab>=4.0"]
|
|
|
|
|
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.0"]
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
|
|
|
rev: 'v1.10.0'
|
|
|
|
|
@ -60,11 +60,15 @@ repos:
|
|
|
|
|
- id: rst-inline-touching-normal
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
|
|
|
rev: v0.1.4
|
|
|
|
|
rev: v0.1.5
|
|
|
|
|
hooks:
|
|
|
|
|
- id: ruff
|
|
|
|
|
types_or: [ python, jupyter ]
|
|
|
|
|
exclude: '^docs/source/examples/Notebook/Importing Notebooks.ipynb'
|
|
|
|
|
args: ['--fix', '--show-fixes']
|
|
|
|
|
- id: ruff-format
|
|
|
|
|
types_or: [ python, jupyter ]
|
|
|
|
|
exclude: '^docs/source/examples/Notebook/Importing Notebooks.ipynb'
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/scientific-python/cookie
|
|
|
|
|
rev: '2023.10.27'
|
|
|
|
|
|