File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ envlist =
66 flake8
77 integration
88 mypy
9- black
9+ # black - see comments below
1010
1111[testenv]
1212passenv = DD_TEST_CLIENT*
@@ -43,15 +43,18 @@ deps =
4343 flake8 ==3.7.9
4444commands = 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
5558skip_install = true
5659deps =
5760 mypy ==0.770
You can’t perform that action at this time.
0 commit comments