diff --git a/appdaemon/py.typed b/appdaemon/py.typed index 8b1378917..e69de29bb 100644 --- a/appdaemon/py.typed +++ b/appdaemon/py.typed @@ -1 +0,0 @@ - diff --git a/doc-requirements.txt b/doc-requirements.txt index 64247394e..7eb89acfd 100644 --- a/doc-requirements.txt +++ b/doc-requirements.txt @@ -64,6 +64,8 @@ idna==3.10 # yarl imagesize==1.4.1 # via sphinx +iniconfig==2.1.0 + # via pytest iso8601==2.1.0 # via appdaemon (pyproject.toml) jinja2==3.1.6 @@ -90,11 +92,15 @@ myst-parser==4.0.1 orderly-set==5.5.0 # via deepdiff packaging==25.0 - # via sphinx + # via + # pytest + # sphinx paho-mqtt==2.1.0 # via appdaemon (pyproject.toml) pid==3.0.4 # via appdaemon (pyproject.toml) +pluggy==1.6.0 + # via pytest propcache==0.3.2 # via # aiohttp @@ -106,8 +112,15 @@ pydantic-core==2.27.2 pygments==2.19.2 # via # appdaemon (pyproject.toml) + # pytest # sphinx # sphinx-tabs +pytest==8.4.2 + # via + # appdaemon (pyproject.toml) + # pytest-asyncio +pytest-asyncio==1.2.0 + # via appdaemon (pyproject.toml) python-dateutil==2.9.0.post0 # via appdaemon (pyproject.toml) python-engineio==4.12.2 @@ -180,6 +193,7 @@ typing-extensions==4.15.0 # anyio # pydantic # pydantic-core + # pytest-asyncio # starlette urllib3==2.5.0 # via requests diff --git a/docs/TESTING.rst b/docs/TESTING.rst index 3e5adfc59..4fa4f9d80 100644 --- a/docs/TESTING.rst +++ b/docs/TESTING.rst @@ -68,18 +68,18 @@ Reference --------- Startup Tests -^^^^^^^^^^^^^ +~~~~~~~~~~~~~ .. autofunction:: tests.functional.test_startup.test_hello_world Event Tests -^^^^^^^^^^^ +~~~~~~~~~~~ .. autoclass:: tests.functional.test_event.TestEventCallback :members: State Tests -^^^^^^^^^^^ +~~~~~~~~~~~ .. autoclass:: tests.functional.test_state.TestStateCallback :members: diff --git a/pyproject.toml b/pyproject.toml index 1c9971f61..448db2254 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ classifiers= [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "Topic :: Home Automation", + "Topic :: Home Automation", "Typing :: Typed", ] @@ -66,12 +66,14 @@ dev = [ # Dependencies required to build the documentation using sphinx doc = [ + "myst-parser>=4.0.0", "sphinx-autobuild>=2021.3.14", "sphinx-rtd-theme>=3.0.2", "sphinx-copybutton>=0.5.2", "sphinx-tabs>=3.4.7", "pygments>=2.14", - "myst-parser>=4.0.0", + "pytest>=8.3.2", + "pytest-asyncio>=1.0.0", ] # Define the main CLI script