The package declares "Typing :: Typed" but shipped no PEP 561 marker, so mypy in driver repositories treated it as untyped. Add the marker, include it as package data, and release 4.7.1.
10 lines
247 B
Python
10 lines
247 B
Python
"""The package says it is typed (PEP 561), so it must ship the marker."""
|
|
|
|
from pathlib import Path
|
|
|
|
import napalm_device_types
|
|
|
|
|
|
def test_the_package_ships_py_typed():
|
|
assert (Path(napalm_device_types.__file__).parent / "py.typed").is_file()
|