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:
Anand Balakrishnan 2023-09-01 14:52:35 -07:00
parent ccd87fc22a
commit a25e56f025
No known key found for this signature in database
6 changed files with 192 additions and 136 deletions

View file

@ -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