From 115abd2166ff4d8d0b514d7c7ed00e118fade1c2 Mon Sep 17 00:00:00 2001 From: Bram Vanroy Date: Thu, 19 Mar 2020 14:29:49 +0100 Subject: [PATCH] Handle pinned version of isort The CONTRIBUTING file pins to a specific version of isort, so we might as well install that in `dev` . This makes it easier for contributors so they don't have to manually install the specific commit. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fd9180d110..d4f1fd1f2a 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,9 @@ extras["serving"] = ["pydantic", "uvicorn", "fastapi", "starlette"] extras["all"] = extras["serving"] + ["tensorflow", "torch"] extras["testing"] = ["pytest", "pytest-xdist"] -extras["quality"] = ["black", "isort", "flake8"] +extras["quality"] = ["black", + "isort @ git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort", + "flake8"] extras["docs"] = ["recommonmark", "sphinx", "sphinx-markdown-tables", "sphinx-rtd-theme"] extras["dev"] = extras["testing"] + extras["quality"] + ["mecab-python3", "scikit-learn", "tensorflow", "torch"]