From a5aa5adc9f6330094ed99896603b37e42719a093 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Mon, 23 Nov 2020 11:29:28 -0500 Subject: [PATCH] Mark library as typed and bump version --- pyproject.toml | 2 +- tests/test_requests.py | 4 ++-- tornado_openapi3/py.typed | 0 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 tornado_openapi3/py.typed diff --git a/pyproject.toml b/pyproject.toml index 98cceeb..b0ed1a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tornado-openapi3" -version = "0.1.1" +version = "0.1.2" description = "Tornado OpenAPI 3 request and response validation library" authors = ["Correl Roush "] license = "MIT" diff --git a/tests/test_requests.py b/tests/test_requests.py index dab58ed..20b3e78 100644 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -4,8 +4,8 @@ import unittest from urllib.parse import urlencode import attr -from hypothesis import given, settings -import hypothesis.strategies as s +from hypothesis import given, settings # type: ignore +import hypothesis.strategies as s # type: ignore from openapi_core import create_spec # type: ignore from openapi_core.exceptions import OpenAPIError # type: ignore from openapi_core.schema.parameters.exceptions import ( # type: ignore diff --git a/tornado_openapi3/py.typed b/tornado_openapi3/py.typed new file mode 100644 index 0000000..e69de29