ansible/docs/docsite/rst/dev_guide
Matt Clay e9f8a34dce
Fixes for validate-modules import handling. (#63932)
* Fix validate-modules support for collections.

- Relative imports now work correctly.
- The collection loader is now used.
- Modules are invoked as `__main__`.

* Remove obsolete validate-modules code ignores.

* Handle sys.exit in validate-modules.

* Add check for AnsibleModule initialization.

* Remove `missing-module-utils-import` check.

This check does not support relative imports or collections.

Instead of trying to overhaul the test, we can rely on the `ansible-module-not-initialized` test instead.

* Fix badly named error codes with `c#` in the name.

The `#` conflicts with comments in the sanity test ignore files.

* Add changelog entries.
2019-10-30 09:48:21 -07:00
..
platforms Fix indentation of example (#63789) 2019-10-29 13:08:41 -04:00
shared_snippets Clarify that GPLv3+ module_utils need core team approval (#56740) 2019-05-21 15:15:55 -05:00
style_guide add newline to render table correctly (#63769) 2019-10-29 13:09:18 -04:00
testing/sanity sanity ignores for a collection need to go to tests/sanity/ (#62182) 2019-09-12 15:55:19 -04:00
debugging.rst Add an example for the debugging module (#50197) 2019-07-15 12:00:36 -04:00
developing_api.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
developing_collections.rst clarify no subfolders and md only for collections /docs folder (#63808) 2019-10-22 15:50:02 -05:00
developing_core.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
developing_inventory.rst Add some documentation about plugins in collections (#62465) 2019-09-26 12:00:26 -04:00
developing_locally.rst Update local module options (#57553) 2019-06-17 15:22:50 -05:00
developing_module_utilities.rst Docs: edits & expands module_utils & search path info in dev guide (#55931) 2019-05-01 07:52:34 -05:00
developing_modules.rst
developing_modules_best_practices.rst Rename python files in hacking/ directory to have .py suffix 2019-07-10 22:17:35 -07:00
developing_modules_checklist.rst Clarify documentation on _info vs. _facts modules (#56611) 2019-05-20 13:52:43 -05:00
developing_modules_documenting.rst add note about collection links (#63346) 2019-10-11 08:27:26 -05:00
developing_modules_general.rst Update unit tests requirements/units.txt path (#61656) 2019-09-03 15:49:15 +01:00
developing_modules_general_aci.rst doc: fix typos (#62852) 2019-09-26 10:18:29 -04:00
developing_modules_general_windows.rst Update developing_modules_general_windows.rst (#62796) 2019-09-24 13:37:49 -04:00
developing_modules_in_groups.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
developing_plugins.rst Add some documentation about plugins in collections (#62465) 2019-09-26 12:00:26 -04:00
developing_program_flow_modules.rst doc: fix typos (#62852) 2019-09-26 10:18:29 -04:00
developing_python_3.rst Fix typo in 'Ansible and Python 3' dev guide (#61226) 2019-08-23 15:53:25 -04:00
developing_rebasing.rst Update developing_rebasing.rst (#51650) 2019-02-08 13:29:39 -06:00
index.rst [docs] split collections into user and dev guide sections (#62363) 2019-09-19 15:09:19 -05:00
module_lifecycle.rst
overview_architecture.rst Docs: edits & expands module_utils & search path info in dev guide (#55931) 2019-05-01 07:52:34 -05:00
testing.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
testing_compile.rst
testing_documentation.rst Update docs references for ansible-test. (#60109) 2019-08-05 14:56:05 -07:00
testing_httptester.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
testing_integration.rst Elaborate on note that docker-priv only works with integration (#62035) 2019-09-11 08:20:49 -04:00
testing_integration_legacy.rst restores legacy testing file (#46095) 2018-09-25 08:52:47 -04:00
testing_pep8.rst Remove obsolete docs on pep8 sanity test. 2019-08-01 22:34:09 -07:00
testing_running_locally.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
testing_sanity.rst Docs: List of Sanity Tests (#52986) 2019-02-26 11:27:39 -06:00
testing_units.rst Fix broken link (#63185) 2019-10-09 14:36:43 -05:00
testing_units_modules.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
testing_validate-modules.rst Fixes for validate-modules import handling. (#63932) 2019-10-30 09:48:21 -07:00