Skip to content

Commit

Permalink
AMLII-2172 - remove black from tox (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddrthall authored Dec 11, 2024
1 parent 672e3bc commit d375ea0
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 d375ea0

Please sign in to comment.