Skip to content

Commit 92b5971

Browse files
committed
tox and pylint
1 parent 60fd7fe commit 92b5971

File tree

5 files changed

+22
-4
lines changed

5 files changed

+22
-4
lines changed

test-requirements.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#botocore
2+
#boto3
3+
4+
#placebo
5+
#mock
6+
pytest
7+
pytest-forked
8+
pytest-mock
9+
pytest-xdist
10+
pytest-ansible
11+
12+
# Needed for ansible.utils.ipaddr in tests
13+
#netaddr
14+
# Sometimes needed where we don't have features we need in modules
15+
#awscli
16+
# Used for comparing SSH Public keys to the Amazon fingerprints
17+
cryptography

test.requirements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ pytest==8.2.2
33
pytest-xdist==3.6.1
44
pytest-mock==3.14.0
55
pytest-forked==1.6.0
6-
ansible-lint==24.7.0
6+
ansible-lint==25.1.2
77
isort
8+
pylint

tests/unit/plugins/module_utils/__init__.py

Whitespace-only changes.

tests/unit/plugins/modules/__init__.py

Whitespace-only changes.

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ commands_pre =
5959
commands =
6060
pytest \
6161
--cov-report html \
62-
--cov plugins/callback \
62+
; --cov plugins/callback \
6363
--cov plugins/inventory \
64-
--cov plugins/lookup \
64+
; --cov plugins/lookup \
6565
--cov plugins/module_utils \
6666
--cov plugins/modules \
67-
--cov plugins/plugin_utils \
67+
; --cov plugins/plugin_utils \
6868
--cov plugins \
6969
--ansible-host-pattern localhost \
7070
{posargs:tests/unit/}

0 commit comments

Comments
 (0)