Skip to content

Commit d375ea0

Browse files
authored
AMLII-2172 - remove black from tox (#873)
1 parent 672e3bc commit d375ea0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

tox.ini

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ envlist =
66
flake8
77
integration
88
mypy
9-
black
9+
# black - see comments below
1010

1111
[testenv]
1212
passenv = DD_TEST_CLIENT*
@@ -43,15 +43,18 @@ deps =
4343
flake8==3.7.9
4444
commands = flake8 datadog
4545

46-
[testenv:black]
47-
deps =
48-
black
49-
commands = black --line-length 120 {posargs} datadog
46+
# Black isn't safe to run while support is being maintained for python2.7, but
47+
# can be re-enabled when support for 2.7 is dropped.
48+
#
49+
# [testenv:black]
50+
# deps =
51+
# black
52+
# commands = black --line-length 120 {posargs} datadog
5053

5154
[testenv:mypy]
52-
# Mypy requires Python 3.5 or higher (but it can still type-check Python 2
55+
# Mypy requires Python >= 3.5 and <=3.8 (but it can still type-check Python 2
5356
# code).
54-
basepython = python3
57+
basepython = python3.8
5558
skip_install = true
5659
deps =
5760
mypy==0.770

0 commit comments

Comments
 (0)