Skip to content

Commit

Permalink
tox/ansible-lint - Limit version of ansible-core installed based on a…
Browse files Browse the repository at this point in the history
…vailable python (ubuntu used 3.10 by default)
  • Loading branch information
tremble committed Dec 19, 2024
1 parent bc26625 commit 0545ea5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ labels = lint
description = Generate a HTML complexity report in the complexity directory
deps =
# See: https://github.com/lordmauve/flake8-html/issues/30
flake8>=3.3.0,<5.0.0
nflake8>=3.3.0,<5.0.0
flake8-html
commands = -flake8 --select C90 --max-complexity 10 --format=html --htmldir={posargs:complexity} plugins

Expand Down Expand Up @@ -154,7 +154,8 @@ commands =
labels = lint
description = Run latest (devel/milestone) Ansible sanity tests
deps =
git+https://github.com/ansible/ansible.git@milestone
git+https://github.com/ansible/ansible.git@milestone ; python_version > "3.11"
ansible-core < 2.18 ; python_version < "3.11"
commands =
ansible-test sanity

Expand Down

0 comments on commit 0545ea5

Please sign in to comment.