From e55a8ee518481dd1c3f5f018a81199e2a0edef77 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Wed, 26 Jun 2019 09:05:55 +0200 Subject: [PATCH] min 3.6 --- pytransifex/api.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pytransifex/api.py b/pytransifex/api.py index 875ec06..2828bac 100755 --- a/pytransifex/api.py +++ b/pytransifex/api.py @@ -365,8 +365,9 @@ def create_language(self, project_slug: str, language_code: str, coordinators: l if response.status_code != requests.codes['CREATED']: raise PyTransifexException(response) - def coordinator(self, project_slug: str, language_code: str = 'en'): + def coordinator(self, project_slug: str, language_code: str = 'en') -> str: """ + Retruns the coordinator of the the project Parameters ---------- project_slug: diff --git a/setup.py b/setup.py index 27d5cd1..b4425bc 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup import sys -python_min_version = (3, 7) +python_min_version = (3, 6) if sys.version_info < python_min_version: sys.exit('pytransifex requires at least Python version {vmaj}.{vmin}.\n'