Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0
rev: v6.0.0 # v6.0.0
hooks:
- id: check-added-large-files
args: ['--maxkb=1024']
Expand All @@ -20,38 +20,38 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 6e10264313f53d6247a8b1b984f5b5ccf50ba539 # 2.21.0
rev: v2.23.0 # 2.21.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # v0.25
rev: v0.25 # v0.25
hooks:
- id: validate-pyproject
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: c883505f64b59c3c5c9375191e4ad9f98e727ccd # v1.0.2
rev: v1.0.2 # v1.0.2
hooks:
- id: sphinx-lint
types: [rst]
- repo: https://github.com/pycqa/isort
rev: a333737ed43df02b18e6c95477ea1b285b3de15a # 8.0.1
rev: 9.0.0a3 # 8.0.1
hooks:
- id: isort
additional_dependencies: ["toml"]
entry: isort --profile=black
name: isort (python)
- repo: https://github.com/psf/black-pre-commit-mirror
rev: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d # 26.3.1
rev: 26.5.1 # 26.3.1
hooks:
- id: black
- repo: https://github.com/adamchainz/blacken-docs
rev: fda77690955e9b63c6687d8806bafd56a526e45f # 1.20.0
rev: 1.20.0 # 1.20.0
hooks:
- id: blacken-docs
args: [--line-length=79]
additional_dependencies:
- black
- repo: https://github.com/codespell-project/codespell
rev: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # v2.4.2
rev: v2.4.2 # v2.4.2
hooks:
- id: codespell
- repo: local
Expand Down
1 change: 0 additions & 1 deletion docs/dashboards/voila/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ app:
from voila.app import Voila
from voila.config import VoilaConfiguration


config = VoilaConfiguration()
config.prelaunch_hook = parameterize_with_papermill
config.page_config_hook = page_config_hook
Expand Down
25 changes: 13 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[project]
name = "jupyter-tutorial"
version = "24.1.0"
description = "Training materials for setting up and using a research infrastructure based on Jupyter notebooks: https://cusy.io/en/seminars"
description = """\
Training materials for setting up and using a research infrastructure based on Jupyter notebooks: \
https://cusy.io/en/seminars\
"""
readme = "README.rst"
license = "BSD-3-Clause"
license-files = [ "LICENSE" ]
Expand All @@ -18,10 +21,9 @@ classifiers = [
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [ ]

dependencies = []
urls."Bug Tracker" = "https://github.com/veit/jupyter-tutorial/issues"
urls."Homepage" = "https://github.com/veit/jupyter-tutorial/"
urls.Homepage = "https://github.com/veit/jupyter-tutorial/"

[dependency-groups]
dev = [
Expand All @@ -47,26 +49,23 @@ docs = [
]

[tool.setuptools]
packages = [ ]
packages = []

[tool.black]
line-length = 79

[tool.isort]
atomic = true
force_grid_wrap = 0
multi_line_output = 3
use_parentheses = true
include_trailing_comma = true
force_grid_wrap = 0
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
not_skip = "__init__.py"
use_parentheses = true

known_first_party = "jupyter-tutorial-de"
known_third_party = [
"Cython",
"accounts_pb2",
"accounts_pb2_grpc",
"Cython",
"dataprep",
"google",
"grpc",
Expand All @@ -78,6 +77,8 @@ known_third_party = [
"requests",
"setuptools",
]
known_first_party = "jupyter-tutorial-de"
not_skip = "__init__.py"

[tool.codespell]
skip = "*.html, *.ipynb, docs/hub/jupyterhub_config.py"
Loading