2026-11-24 10:34:32 +01:00
|
|
|
"""Test the velofy package."""
|
2026-12-01 17:07:00 +01:00
|
|
|
|
|
|
|
|
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")
|