File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 - id : trailing-whitespace
66 - id : end-of-file-fixer
77- repo : https://github.com/astral-sh/ruff-pre-commit
8- rev : v0.15.13
8+ rev : v0.15.16
99 hooks :
1010 - id : ruff-check
1111 args : [--fix, --preview]
1212 - id : ruff-format
1313- repo : https://github.com/tox-dev/pyproject-fmt
14- rev : v2.21.2
14+ rev : v2.23.0
1515 hooks :
1616 - id : pyproject-fmt
1717- repo : https://github.com/biomejs/pre-commit
18- rev : v2.4.15
18+ rev : v2.4.16
1919 hooks :
2020 - id : biome-format
2121- repo : https://github.com/kynan/nbstripout
Original file line number Diff line number Diff line change @@ -56,17 +56,17 @@ docs = [
5656]
5757
5858[tool .hatch ]
59- envs.default.dependencies = [ " ipykernel " ]
60- envs.default.installer = " uv "
59+ version.source = " vcs "
60+ metadata.hooks.docstring-description = {}
6161envs.default.python = " 3.13"
62+ envs.default.installer = " uv"
63+ envs.default.dependencies = [ " ipykernel" ]
6264envs.docs.scripts.build = " sphinx-build -b html docs docs/_build/html -W {args}"
63- envs.docs.scripts.open = " python -m webbrowser {args:docs/_build/html/index.html}"
6465envs.docs.scripts.clean = " git clean -fdX -- {args:docs}"
6566envs.docs.scripts.install-kernel = " python -m ipykernel install --user --name=hv-anndata --display-name=hv-anndata"
67+ envs.docs.scripts.open = " python -m webbrowser {args:docs/_build/html/index.html}"
6668envs.docs.dependency-groups = [ " docs" ]
6769envs.hatch-test.dependency-groups = [ " test" ]
68- metadata.hooks.docstring-description = {}
69- version.source = " vcs"
7070
7171[tool .uv ]
7272# needs anndata >=0.13.dev0 which has no releases yet
@@ -130,12 +130,12 @@ lint.pylint.max-positional-args = 4
130130lint.pydoclint.ignore-one-line-docstrings = true
131131
132132[tool .pytest ]
133- strict = true
134133addopts = [ " --import-mode=importlib" , " --strict-markers" ]
135134filterwarnings = [
136135 " error" ,
137136 # add ignore filters here if something fails in 3rd party dependencies
138137]
138+ strict = true
139139
140140[tool .coverage ]
141141run.branch = true
Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ def _renderer(backend: str) -> Iterator[Renderer]:
3131 renderer = hv .renderer (backend )
3232 old_backend = hv .Store .current_backend
3333 hv .Store .set_current_backend (backend )
34- yield renderer
35- hv .Store .set_current_backend (old_backend )
34+ try :
35+ yield renderer
36+ finally :
37+ hv .Store .set_current_backend (old_backend )
3638
3739
3840@pytest .fixture
You can’t perform that action at this time.
0 commit comments