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
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test(session: nox.Session) -> None:
if path is not None:
pytest_args = ("--import-mode=importlib", "--pyargs", "bmipy", "tests")

session.install("coverage", "pytest", "numpy")
session.install("coverage", "pytest")
session.run("coverage", "erase")

session.run(
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ dynamic = [
dev = ["nox"]
testing = [
"coverage",
"numpy",
"pytest",
]

Expand Down
6 changes: 4 additions & 2 deletions src/bmipy/_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ def render(self, with_docstring: bool = True) -> str:
from __future__ import annotations

from typing import Any
from typing import TYPE_CHECKING

import numpy as np
from numpy.typing import NDArray
if TYPE_CHECKING:
import numpy as np
from numpy.typing import NDArray

from bmipy.bmi import Bmi

Expand Down
Loading