Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.14
rev: v0.15.15
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-check
args: [--preview, --select=CPY]
- id: ruff-format
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.2
rev: v2.23.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/biomejs/pre-commit
rev: v2.4.15
rev: v2.4.16
hooks:
- id: biome-format
- repo: https://github.com/kynan/nbstripout
Expand Down
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,23 @@ notebook = [
]

[tool.hatch]
version.source = "vcs"
metadata.hooks.docstring-description = {}
envs.default.installer = "uv"
envs.docs.dependency-groups = [ "docs" ]
envs.docs.scripts.build = "sphinx-build -W --keep-going -b html docs docs/_build/html {args}"
envs.docs.scripts.open = "python3 -m webbrowser -t docs/_build/html/index.html"
envs.docs.scripts.clean = "git clean -fdX -- {args:docs}"
envs.hatch-test.default-args = []
envs.hatch-test.dependency-groups = [ "test" ]
envs.docs.scripts.open = "python3 -m webbrowser -t docs/_build/html/index.html"
envs.docs.dependency-groups = [ "docs" ]
envs.hatch-test.extra-dependencies = [ "pyinstrument" ]
envs.hatch-test.matrix = [ { python = [ "3.14", "3.10" ], deps = [ "all", "min" ] } ]
envs.hatch-test.overrides.matrix.deps.features = [
{ if = [ "all" ], value = "jupyter" },
{ value = "jupyter", if = [ "all" ] },
]
envs.hatch-test.matrix = [ { python = [ "3.14", "3.10" ], deps = [ "all", "min" ] } ]
envs.notebook.dependency-groups = [ "notebook" ]
envs.hatch-test.default-args = []
envs.hatch-test.dependency-groups = [ "test" ]
envs.notebook.extra-dependencies = [ "ipykernel" ]
envs.notebook.scripts.install-kernel = "python -m ipykernel install --user --name=session-info2 --display-name=session-info2 --env COLUMNS 110"
metadata.hooks.docstring-description = {}
version.source = "vcs"
envs.notebook.dependency-groups = [ "notebook" ]

[tool.ruff]
lint.select = [ "ALL" ]
Expand Down Expand Up @@ -120,24 +120,24 @@ lint.pylint.max-args = 7
lint.pylint.max-positional-args = 3

[tool.mypy]
strict = true
explicit_package_bases = true
mypy_path = [ "$MYPY_CONFIG_FILE_DIR/stubs", "$MYPY_CONFIG_FILE_DIR/src" ]
explicit_package_bases = true
strict = true

[tool.pyright]
stubPath = "./stubs"
reportPrivateUsage = false

[tool.pytest]
strict = true
addopts = [ "--import-mode=importlib" ]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
asyncio_mode = "auto"
filterwarnings = [
"error",
"ignore:Jupyter is migrating its paths:DeprecationWarning",
"ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil",
]
strict = true

[tool.coverage]
run.branch = true
Expand Down
Loading