diff --git a/changelogs/fragments/ansible-test-pylint-command.yml b/changelogs/fragments/ansible-test-pylint-command.yml new file mode 100644 index 00000000000..7b8c320170e --- /dev/null +++ b/changelogs/fragments/ansible-test-pylint-command.yml @@ -0,0 +1,2 @@ +minor_changes: + - ansible-test - Improve consistency of executed ``pylint`` commands by making the plugins ordered. diff --git a/test/lib/ansible_test/_internal/commands/sanity/pylint.py b/test/lib/ansible_test/_internal/commands/sanity/pylint.py index 370e8998438..6a250194e27 100644 --- a/test/lib/ansible_test/_internal/commands/sanity/pylint.py +++ b/test/lib/ansible_test/_internal/commands/sanity/pylint.py @@ -225,7 +225,7 @@ class PylintTest(SanitySingleVersion): '--max-complexity', '20', '--rcfile', rcfile, '--output-format', 'json', - '--load-plugins', ','.join(load_plugins), + '--load-plugins', ','.join(sorted(load_plugins)), ] + paths if data_context().content.collection: