pylint.py (ansible-2.14.0) | : | pylint.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 228 | skipping to change at line 228 | |||
cmd = [ | cmd = [ | |||
python.path, | python.path, | |||
'-m', 'pylint', | '-m', 'pylint', | |||
'--jobs', '0', | '--jobs', '0', | |||
'--reports', 'n', | '--reports', 'n', | |||
'--max-line-length', '160', | '--max-line-length', '160', | |||
'--max-complexity', '20', | '--max-complexity', '20', | |||
'--rcfile', rcfile, | '--rcfile', rcfile, | |||
'--output-format', 'json', | '--output-format', 'json', | |||
'--load-plugins', ','.join(load_plugins), | '--load-plugins', ','.join(sorted(load_plugins)), | |||
] + paths | ] + paths | |||
if data_context().content.collection: | if data_context().content.collection: | |||
cmd.extend(['--collection-name', data_context().content.collection.f ull_name]) | cmd.extend(['--collection-name', data_context().content.collection.f ull_name]) | |||
if collection_detail and collection_detail.version: | if collection_detail and collection_detail.version: | |||
cmd.extend(['--collection-version', collection_detail.version]) | cmd.extend(['--collection-version', collection_detail.version]) | |||
append_python_path = [plugin_dir] | append_python_path = [plugin_dir] | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |