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
3 changes: 1 addition & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ def test(session: nox.Session) -> None:
@nox.session(name="test-cli")
def test_cli(session: nox.Session) -> None:
"""Test the command line interface."""
session.install("-r", "requirements/requires.txt")
session.install(".", "--no-deps")
session.install(".")
session.run("bmi-render", "--help")
session.run("bmi-render", "--version")

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ classifiers = [
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"numpy",
]
dynamic = [
"readme",
]

[project.optional-dependencies]
dev = ["nox"]
testing = [
"coverage",
"numpy",
"pytest",
]

Expand Down
1 change: 0 additions & 1 deletion requirements.in

This file was deleted.

1 change: 0 additions & 1 deletion requirements/requires.txt

This file was deleted.

6 changes: 4 additions & 2 deletions src/bmipy/bmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@

from abc import ABC
from abc import abstractmethod
from typing import TYPE_CHECKING
from typing import Any

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


class Bmi(ABC):
Expand Down
Loading