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 =
6
6
flake8
7
7
integration
8
8
mypy
9
- black
9
+ # black - see comments below
10
10
11
11
[testenv]
12
12
passenv = DD_TEST_CLIENT*
@@ -43,15 +43,18 @@ deps =
43
43
flake8 ==3.7.9
44
44
commands = flake8 datadog
45
45
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
50
53
51
54
[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
53
56
# code).
54
- basepython = python3
57
+ basepython = python3.8
55
58
skip_install = true
56
59
deps =
57
60
mypy ==0.770
You can’t perform that action at this time.
0 commit comments