From 830d57ce682667dd1b3f4a2bd55a0e9f4e7aeb90 Mon Sep 17 00:00:00 2001 From: Greg Guthe Date: Fri, 6 Nov 2020 10:57:24 -0500 Subject: [PATCH] add black and mypy to dev requirements for cpython > 3.5 psf/black#727 python/typed_ast#111 --- requirements-dev.txt | 6 ++++++ tox.ini | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 73e89bdc..454e0e06 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -17,3 +17,9 @@ wheel # Requirements for updating the vendored html5lib hashin + +# Requirements for format-check most recently black==20.8b1 +black; implementation_name == "cpython" and python_version > "3.5" + +# Requirements for type-check most recently mypy==0.790 and mypy-extensions==0.4.3 +mypy; implementation_name == "cpython" and python_version > "3.5" diff --git a/tox.ini b/tox.ini index 244e9b53..6681fc9e 100644 --- a/tox.ini +++ b/tox.ini @@ -49,7 +49,6 @@ basepython = python3.8 changedir = scripts deps = -rrequirements-dev.txt - black commands = ./run_tests.sh format-check