mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Add shell out checks (#41545)
* Added error codes for shell_out checks * Added ignore lines for allowed Modules * Added shell out checks * Fixed pep8 * Updated regex to only match subprocess.Popen * Added failing modules to ignore.txt * Wrong postgresql module in ignore.txt * Removed bigip from ignore.txt
This commit is contained in:
parent
355b56ef00
commit
a342538aba
3 changed files with 40 additions and 1 deletions
|
@ -83,6 +83,8 @@ Errors
|
|||
208 ``module_utils`` imports should import specific components, not ``*``
|
||||
209 Only the following ``from __future__`` imports are allowed:
|
||||
``absolute_import``, ``division``, and ``print_function``.
|
||||
210 ``subprocess.Popen`` used instead of ``module.run_command``
|
||||
211 ``os.call`` used instead of ``module.run_command``
|
||||
..
|
||||
--------- -------------------
|
||||
**3xx** **Documentation**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue