Skip to content

Commit 09adc98

Browse files
docs: Adding missing docstrings (#756)
* Add missing docstrings * Added conftest * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a7689e1 commit 09adc98

File tree

2 files changed

+795
-0
lines changed

2 files changed

+795
-0
lines changed

conftest.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import pytest
2+
3+
4+
@pytest.fixture(scope="session", autouse=True)
5+
def add_doctest_modules(doctest_namespace):
6+
import sparse
7+
8+
import numpy as np
9+
10+
if sparse._BackendType.Numba != sparse._BACKEND:
11+
pytest.skip()
12+
13+
doctest_namespace["np"] = np
14+
doctest_namespace["sparse"] = sparse

0 commit comments

Comments
 (0)