From 743d131d76ea188aa0f255c7407fe81cd776d2c5 Mon Sep 17 00:00:00 2001 From: Stas Bekman Date: Thu, 27 Aug 2020 20:38:09 -0700 Subject: [PATCH] [style] set the minimal required version for `black` (#6784) `make style` with `black` < 20.8b1 is a no go (in case some other package forced a lower version) - so make it explicit to avoid confusion --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 912b384668..fbd9c4040e 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ extras["all"] = extras["serving"] + ["tensorflow", "torch"] extras["testing"] = ["pytest", "pytest-xdist", "timeout-decorator", "psutil"] # sphinx-rtd-theme==0.5.0 introduced big changes in the style. extras["docs"] = ["recommonmark", "sphinx", "sphinx-markdown-tables", "sphinx-rtd-theme==0.4.3", "sphinx-copybutton"] -extras["quality"] = ["black", "isort >= 5", "flake8"] +extras["quality"] = ["black >= 20.8b1", "isort >= 5", "flake8"] extras["dev"] = extras["testing"] + extras["quality"] + extras["ja"] + ["scikit-learn", "tensorflow", "torch"] setup(