diff --git a/docs/source/api-reference.rst b/docs/source/api-reference.rst index 5b702755..01bba09b 100644 --- a/docs/source/api-reference.rst +++ b/docs/source/api-reference.rst @@ -13,6 +13,6 @@ API Reference :undoc-members: :members: -.. automodule:: vws.types +.. automodule:: vws.response :undoc-members: :members: diff --git a/pyproject.toml b/pyproject.toml index 7808e35f..6644e66c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ optional-dependencies.dev = [ "pytest==8.3.4", "pytest-cov==6.0.0", "pyyaml==6.0.2", - "ruff==0.8.6", + "ruff==0.9.1", # We add shellcheck-py not only for shell scripts and shell code blocks, # but also because having it installed means that ``actionlint-py`` will # use it to lint shell commands in GitHub workflow files. diff --git a/src/vws/exceptions/base_exceptions.py b/src/vws/exceptions/base_exceptions.py index b0888f93..943323bf 100644 --- a/src/vws/exceptions/base_exceptions.py +++ b/src/vws/exceptions/base_exceptions.py @@ -5,7 +5,7 @@ from beartype import beartype -from vws.types import Response +from vws.response import Response @beartype diff --git a/src/vws/exceptions/custom_exceptions.py b/src/vws/exceptions/custom_exceptions.py index f05d59b4..11d47a67 100644 --- a/src/vws/exceptions/custom_exceptions.py +++ b/src/vws/exceptions/custom_exceptions.py @@ -6,7 +6,7 @@ from beartype import beartype -from vws.types import Response +from vws.response import Response @beartype diff --git a/src/vws/query.py b/src/vws/query.py index 84144691..96122aa1 100644 --- a/src/vws/query.py +++ b/src/vws/query.py @@ -27,7 +27,7 @@ ) from vws.include_target_data import CloudRecoIncludeTargetData from vws.reports import QueryResult, TargetData -from vws.types import Response +from vws.response import Response _ImageType = io.BytesIO | BinaryIO diff --git a/src/vws/types.py b/src/vws/response.py similarity index 100% rename from src/vws/types.py rename to src/vws/response.py diff --git a/src/vws/vws.py b/src/vws/vws.py index f101a7ec..f8776657 100644 --- a/src/vws/vws.py +++ b/src/vws/vws.py @@ -46,7 +46,7 @@ TargetStatuses, TargetSummaryReport, ) -from vws.types import Response +from vws.response import Response _ImageType = io.BytesIO | BinaryIO