Skip to content

Commit

Permalink
Upgrade and pin black version
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijeet Kasurde <[email protected]>
  • Loading branch information
Akasurde committed Apr 7, 2022
1 parent 713192c commit 7b1c3d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ install_command = pip install {opts} {packages}

[testenv:black]
deps =
black==19.10b0
black >= 22.0, < 23.0
commands =
black {toxinidir}/plugins {toxinidir}/tests

Expand All @@ -21,7 +21,7 @@ commands = collection_prep_add_docs -p .
[testenv:refresh_modules]
deps =
git+https://github.com/ansible-collections/vmware_rest_code_generator
black==19.10b0
{[testenv:black]deps}
commands =
vmware_rest_code_generator_refresh_modules --target-dir . {posargs}
vmware_rest_code_generator_refresh_examples --target-dir .
Expand Down Expand Up @@ -56,10 +56,10 @@ setenv =

[testenv:linters]
deps =
black==19.10b0
flake8
antsibull-changelog
antsibull
{[testenv:black]deps}
commands =
black -v --check {toxinidir}/plugins {toxinidir}/tests
flake8 {posargs} {toxinidir}/plugins {toxinidir}/tests
Expand Down

0 comments on commit 7b1c3d0

Please sign in to comment.