From 1f236d53d41593b7b43eb560b9a7776f97aef926 Mon Sep 17 00:00:00 2001 From: Eric Froemling Date: Tue, 29 Oct 2019 18:59:36 -0500 Subject: [PATCH] Adding yapf to env check --- tools/snippets | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/snippets b/tools/snippets index 1cf147eb..3e9bb549 100755 --- a/tools/snippets +++ b/tools/snippets @@ -649,8 +649,6 @@ def checkenv() -> None: print('Checking environment...', flush=True) python_bin = 'python3.7' - pylint_min_ver = [2, 4, 3] - mypy_min_ver = [0, 740] # Make sure they've got our target python version. if subprocess.run(['which', python_bin], check=False, @@ -666,8 +664,9 @@ def checkenv() -> None: # Check for some required python modules. for modname, minver in [ - ('pylint', pylint_min_ver), - ('mypy', mypy_min_ver), + ('pylint', [2, 4, 3]), + ('mypy', [0, 740]), + ('yapf', [0, 28, 0]), ('typing_extensions', None), ('pytz', None), ]: