fix release.sh to succeed

This commit is contained in:
Henning Jacobs
2019-12-16 14:39:38 +01:00
parent 852eca0e0f
commit 7240f94748
5 changed files with 5 additions and 5 deletions

View File

@@ -45,4 +45,4 @@ except ImportError as e: # pragma: no cover
AioHttpApp = _aiohttp_not_installed_error
# This version is replaced during release process.
__version__ = '2018.0.dev1'
__version__ = '2020.0.dev1'

View File

@@ -34,7 +34,7 @@ def inspect_function_arguments(function): # pragma: no cover
"""
parameters = inspect.signature(function).parameters
bound_arguments = [name for name, p in parameters.items()
if p.kind not in (p.VAR_POSITIONAL, p.VAR_KEYWORD)]
if p.kind not in (p.VAR_POSITIONAL, p.VAR_KEYWORD)]
has_kwargs = any(p.kind == p.VAR_KEYWORD for p in parameters.values())
return list(bound_arguments), has_kwargs

View File

@@ -2,7 +2,6 @@ import collections
import copy
import functools
import logging
import sys
import pkg_resources
from jsonschema import Draft4Validator, ValidationError, draft4_format_checker

View File

@@ -19,8 +19,9 @@ else
sed -i "s/__version__ = .*/__version__ = '${version}'/" */__init__.py
fi
tox -e py27-pypi,py35-pypi,py36-pypi,isort-check,isort-check-examples,isort-check-tests,flake8 --skip-missing-interpreters
tox -e py37-pypi,flake8 --skip-missing-interpreters
rm -fr dist/*
python3 setup.py sdist bdist_wheel
twine upload dist/*

View File

@@ -1,5 +1,5 @@
[flake8]
max-line-length=120
max-line-length=170
exclude=connexion/__init__.py
[tox]