handle the - in the package name
@@ -27,6 +27,8 @@ test:
imports:
- sphinx-pydantic
commands:
+ # I need to use importlib due to the - character in the package name.
+ - python -c "import importlib; importlib.import_module('sphinx-pydantic')"
- pip check
requires:
- pip
