From d375ea08959494eedbc362313fa931852d478c50 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 11 Dec 2024 05:41:02 -0500 Subject: [PATCH] AMLII-2172 - remove black from tox (#873) --- tox.ini | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tox.ini b/tox.ini index e4e1b246c..15301e64b 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ envlist = flake8 integration mypy - black + # black - see comments below [testenv] passenv = DD_TEST_CLIENT* @@ -43,15 +43,18 @@ deps = flake8==3.7.9 commands = flake8 datadog -[testenv:black] -deps = - black -commands = black --line-length 120 {posargs} datadog +# Black isn't safe to run while support is being maintained for python2.7, but +# can be re-enabled when support for 2.7 is dropped. +# +# [testenv:black] +# deps = +# black +# commands = black --line-length 120 {posargs} datadog [testenv:mypy] -# Mypy requires Python 3.5 or higher (but it can still type-check Python 2 +# Mypy requires Python >= 3.5 and <=3.8 (but it can still type-check Python 2 # code). -basepython = python3 +basepython = python3.8 skip_install = true deps = mypy==0.770