velofy/tests/__init__.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
287 B
Python
Raw Permalink Normal View History

"""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")