Skip to content

Commit ad187f1

Browse files
committed
Update type hint for lidi fixture and pin dependencies #12
1 parent 514d9f6 commit ad187f1

File tree

3 files changed

+154
-136
lines changed

3 files changed

+154
-136
lines changed

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ authors = [{ name = "Daniel Różycki", email = "[email protected]" }]
66
requires-python = ">=3.11,<3.14"
77
readme = "README.md"
88
dependencies = [
9-
"typer>=0.15.2,<0.16",
10-
"loguru>=0.7.2,<0.8",
11-
"rich>=14.0.0,<15",
12-
"mako>=1.3.10,<2",
13-
"lidipy>=0.3.0,<0.4",
9+
"typer==0.16",
10+
"loguru==0.7.3",
11+
"mako==1.3.10",
12+
"lidipy==0.3.1",
1413
]
1514

1615
[project.scripts]

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import shutil
2-
from typing import Iterator
2+
from typing import Generator, Iterator
33

44
import pytest
55
from lidipy import Lidi
@@ -11,7 +11,7 @@
1111

1212

1313
@pytest.fixture
14-
def lidi() -> Lidi:
14+
def lidi() -> Generator[Lidi, None, None]:
1515
from adrpy.injection import lidi
1616

1717
setup_injection()

0 commit comments

Comments
 (0)