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
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ repos:
- id: check-toml
- id: check-yaml
- id: check-merge-conflict
# Re-enable once the repository leaves early PR/bootstrap work.
# - id: no-commit-to-branch
# args: [--branch=main]
- id: no-commit-to-branch
args: [--branch=main]
- id: detect-private-key
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# scverse-backends

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/scverse/scverse-backends/main.svg)](https://results.pre-commit.ci/latest/github/scverse/scverse-backends/main)
[![codecov](https://codecov.io/gh/scverse/scverse-backends/graph/badge.svg?token=BMSUQWKIN8)](https://codecov.io/gh/scverse/scverse-backends)
[![Documentation Status](https://readthedocs.org/projects/scverse-backends/badge/?version=latest)](https://scverse-backends.readthedocs.io/en/latest/?badge=latest)

> ⚠️ **Under active development.** APIs may shift.

The default plugin & dispatch mechanism for [scverse](https://scverse.org).
Expand Down Expand Up @@ -28,8 +32,7 @@ with eh.settings.use_backend("accelerated"):

## Docs

Full docs at [scverse-backends.readthedocs.io](https://scverse-backends.readthedocs.io)
(once the repo is published). For now, see `docs/`.
Full docs at [scverse-backends.readthedocs.io](https://scverse-backends.readthedocs.io/en/latest/).

## License

Expand Down
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# scverse-backends

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/scverse/scverse-backends/main.svg)](https://results.pre-commit.ci/latest/github/scverse/scverse-backends/main)
[![codecov](https://codecov.io/gh/scverse/scverse-backends/graph/badge.svg?token=BMSUQWKIN8)](https://codecov.io/gh/scverse/scverse-backends)
[![Documentation Status](https://readthedocs.org/projects/scverse-backends/badge/?version=latest)](https://scverse-backends.readthedocs.io/en/latest/?badge=latest)

```{warning}
This repository is under active development. APIs may shift before the
first stable release.
Expand Down
5 changes: 4 additions & 1 deletion tests/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

from __future__ import annotations

from scverse_backends import BackendDispatcher
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from scverse_backends import BackendDispatcher


class FakeBackend:
Expand Down