File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1331,7 +1331,7 @@ def __init__(
13311331 count : int | None = None ,
13321332 ) -> None :
13331333 self ._reader = reader
1334- self ._dtype = np .dtype (dtype )
1334+ self ._dtype : np . typing . DTypeLike = np .dtype (dtype )
13351335 self ._offset = offset
13361336 self ._count = count
13371337 self ._close_on_next = False
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ no_strict_optional = true
7373warn_no_return = true
7474warn_unused_configs = true
7575warn_unused_ignores = true
76+ plugins = [" numpy.typing.mypy_plugin" ]
7677
7778[tool .pytest .ini_options ]
7879testpaths = [" tests" ]
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- echo $( mypy --version)
3- echo Running mypy...
4- poetry run mypy databento examples tests
2+ echo " Running $( poetry run mypy --version) ..."
3+ poetry run mypy .
You can’t perform that action at this time.
0 commit comments