From 4ff9739293a28a1cbfe728521769cd4dcd682689 Mon Sep 17 00:00:00 2001 From: Vincent Maillol Date: Sun, 20 Dec 2020 17:06:17 +0100 Subject: [PATCH] version=1.7.1 fix README render, force twine check because travis does not mount error. --- .travis.yml | 2 ++ README.rst | 1 + aiohttp_pydantic/__init__.py | 2 +- requirements/ci.txt | 1 + setup.cfg | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3aa319e..f32b871 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ python: - '3.8' script: - pytest --cov-report=xml --cov=aiohttp_pydantic tests/ +- sh -c 'python -m readme_renderer README.rst > /dev/null' install: - pip install -U setuptools wheel pip - pip install -r requirements/test.txt @@ -12,6 +13,7 @@ after_success: - codecov deploy: provider: pypi + twine_check: true username: __token__ password: secure: ki81Limjj8UgsX1GNpOF2+vYjc6GEPY1V9BbJkQl+5WVTynqKTDEi+jekx8Id0jYEGGQ8/PfTiXe7dY/MqfQ0oWQ5+UNmGZIQJwYCft4FJWrI5QoL1LE0tqKpXCzBX7rGr1BOdvToS9zwf3RDr1u7ib16V/xakX55raVpQ37ttE0cKEPzvq6MqZTfYvq0VnhPmTDbTDBd9krHHAAG5lVhm9oAbp9TkhKsWDuA+wGzgKt2tuPX6+Le4op/wiiBhAnhvcVzjDWaX8dxd3Ac0XlnPtl8EMe5lJJez/ahGedydwGDJC75TOl1b7WP9AqogvNISVN+2VYUVxkgoK9yC9zEjhCSWKHSz+t8ZddB+itYHvj9lMf04iObq8OSUcD71R4rASWMZ89YdksWb6qvD+md1oEl/M6JSyZAkv+aedFL5iyKS4oJpZT3fYYloUqhF3/aDVgC3mlnXVsxC2cCIdpvu2EVjpFqFJ+9qGpp3ZlhRfDkjbQA0IA6KXKaWkIadQouJ4Wr1WtXjN4w0QlAvGV/q3m4bQ3ZZGxYipS9MQwDnUoRYtrX6j7bsaXjBdfhPNlwzgHQDPbD//oX9ZI1Oe6+kT/WKQvBrtvftv+TUhQ49uePHn5o/eYAKh35IwYTBxLgk2t483k0ZI5cjVXd2zGRgAxPdB/XyGW84dJGPJNn8o= diff --git a/README.rst b/README.rst index 21bb2f6..dd8cd69 100644 --- a/README.rst +++ b/README.rst @@ -302,6 +302,7 @@ You can generate the OAS in a json or yaml file using the aiohttp_pydantic.oas c python -m aiohttp_pydantic.oas demo.main .. code-block:: bash + $ python3 -m aiohttp_pydantic.oas --help usage: __main__.py [-h] [-b FILE] [-o FILE] [-f FORMAT] [APP [APP ...]] diff --git a/aiohttp_pydantic/__init__.py b/aiohttp_pydantic/__init__.py index 079e5ca..91b5e3c 100644 --- a/aiohttp_pydantic/__init__.py +++ b/aiohttp_pydantic/__init__.py @@ -1,5 +1,5 @@ from .view import PydanticView -__version__ = "1.7.0" +__version__ = "1.7.1" __all__ = ("PydanticView", "__version__") diff --git a/requirements/ci.txt b/requirements/ci.txt index ce4b7a7..3380aa6 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -3,5 +3,6 @@ chardet==3.0.4 codecov==2.1.10 coverage==5.3 idna==2.10 +readme-renderer==26.0 requests==2.25.0 urllib3==1.26.2 diff --git a/setup.cfg b/setup.cfg index 32dc85e..f9d9c96 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,7 +36,7 @@ install_requires = [options.extras_require] test = pytest==6.1.2; pytest-aiohttp==0.3.0; pytest-cov==2.10.1 -ci = pytest==6.1.2; pytest-aiohttp==0.3.0; pytest-cov==2.10.1; codecov==2.1.10 +ci = pytest==6.1.2; pytest-aiohttp==0.3.0; pytest-cov==2.10.1; codecov==2.1.10; readme-renderer==26.0 [options.packages.find] exclude =