From f054ccbf4ddea343a441c925382d96edc3237c08 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Tue, 12 Mar 2019 11:51:45 +0100 Subject: [PATCH] Move CI jobs in-tree, add Python 3.6 and 3.7 Fixes a pep8 error that managed to sneak in. Change-Id: I90b91a69537934fd279bda808aae2d2c653b17e1 --- .zuul.yaml | 5 +++++ setup.cfg | 3 +++ wsme/api.py | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .zuul.yaml diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..f42aa59 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,5 @@ +- project: + templates: + - openstack-python-jobs + - openstack-python36-jobs + - openstack-python37-jobs diff --git a/setup.cfg b/setup.cfg index d580304..78237d5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,7 +17,10 @@ classifier = Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy License :: OSI Approved :: MIT License diff --git a/wsme/api.py b/wsme/api.py index e5fe7c6..67263a0 100644 --- a/wsme/api.py +++ b/wsme/api.py @@ -179,7 +179,7 @@ class signature(object): fd.return_type = self.return_type fd.set_options(**self.options) if self.arg_types: - fd.set_arg_types(argspec, self.arg_types) + fd.set_arg_types(argspec, self.arg_types) return func