From 6bb2a66d590d110546afea2c8772e8cef978c0ed Mon Sep 17 00:00:00 2001 From: SebastianoF Date: Fri, 4 Oct 2019 13:05:58 +0100 Subject: [PATCH] black only for a single version test --- .travis.yml | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 700e894d032..cbcab61f58a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ python: install: - pip install codecov - pip install .[dev] + - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install -U black; fi script: - export PYTHONPATH=$PYTHONPATH:$(pwd) # * E501 - line length limit diff --git a/setup.py b/setup.py index 11f0951cec4..f0fcfb29e85 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ requires = ["click", "cookiecutter", "networkx", "numpy", "pandas", "tornado", "tqdm"] extras_require = { - "dev": ["coverage", "flake8", "pytest >= 3.6", "pytest-cov", "sphinx", "black"], + "dev": ["coverage", "flake8", "pytest >= 3.6", "pytest-cov", "sphinx"], "docs": ["sphinx"], }