Skip to content

Commit

Permalink
Merge branch 'master' into dongothing-dd/add-hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
dongothing-dd authored Dec 19, 2024
2 parents d88dfc1 + d375ea0 commit e5289ac
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ envlist =
flake8
integration
mypy
black
# black - see comments below

[testenv]
passenv = DD_TEST_CLIENT*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e5289ac

Please sign in to comment.