From 4a20fe491b5ff0fc06dd919961d5fb030d29ddc4 Mon Sep 17 00:00:00 2001 From: hydrogen7797 Date: Tue, 23 Jun 2026 14:37:55 +0900 Subject: [PATCH] chore: update testing configuration and add type hints support --- pyproject.toml | 2 +- pytest.ini | 2 +- runpod/py.typed | 0 setup.py | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 runpod/py.typed diff --git a/pyproject.toml b/pyproject.toml index c88c8ec2..747c70ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ include-package-data = true [tool.setuptools.package-data] runpod = [ + "py.typed", "serverless/binaries/gpu_test", "serverless/binaries/README.md", ] @@ -68,7 +69,6 @@ dev = [ "twine>=6.1.0", ] test = [ - "asynctest", "nest_asyncio", "faker", "pytest-asyncio", diff --git a/pytest.ini b/pytest.ini index 165c6b91..590b4dc1 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] -addopts = --durations=10 --cov-config=.coveragerc --timeout=120 --timeout_method=thread --cov=runpod --cov-report=xml --cov-report=term-missing --cov-fail-under=90 -W error -p no:cacheprovider -p no:unraisableexception +addopts = --durations=10 --cov-config=pyproject.toml --timeout=120 --timeout_method=thread --cov=runpod --cov-report=xml --cov-report=term-missing --cov-fail-under=90 -W error -p no:cacheprovider -p no:unraisableexception python_files = tests.py test_*.py *_test.py norecursedirs = venv *.egg-info .git build tests/e2e asyncio_mode = auto diff --git a/runpod/py.typed b/runpod/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py index ebd4c2d1..f427ccd2 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,6 @@ extras_require = { "test": [ - "asynctest", "faker", "nest_asyncio", "pytest",