fix(pyargus): address typing issues
This addresses some of the issues with inheritance (internal to the rust module) for signals, and generally making mypy and flake8 happy.
This commit is contained in:
parent
ccd87fc22a
commit
a25e56f025
6 changed files with 192 additions and 136 deletions
|
|
@ -66,5 +66,5 @@ def test_correctly_create_signals(data: Tuple[List[Tuple[float, AllowedDtype]],
|
|||
assert a < len(samples)
|
||||
assert b < len(samples)
|
||||
else:
|
||||
assert signal.is_empty() # type: ignore[attr-defined]
|
||||
assert signal.at(0) is None # type: ignore[attr-defined]
|
||||
assert signal.is_empty()
|
||||
assert signal.at(0) is None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue