velofy/tests/__init__.py

11 lines
287 B
Python

"""Test the velofy package."""
import os
# Check the type annotations of `velofy` at runtime in the `nox` session "test-types"
# => Must happen before tests/conftest.py imports `velofy`
if os.environ.get("TYPEGUARD"):
import typeguard
typeguard.install_import_hook("velofy")