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
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
developing_api.rst
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
developing_inventory.rst Add some documentation about plugins in collections (#62465) 2019-09-26 12:00:26 -04:00
developing_locally.rst
developing_module_utilities.rst
developing_modules.rst
developing_modules_best_practices.rst
developing_modules_checklist.rst
developing_modules_documenting.rst add note about collection links (#63346) 2019-10-11 08:27:26 -05:00
developing_modules_general.rst
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
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
developing_rebasing.rst
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
testing.rst
testing_compile.rst
testing_documentation.rst
testing_httptester.rst
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
testing_pep8.rst
testing_running_locally.rst
testing_sanity.rst
testing_units.rst Fix broken link (#63185) 2019-10-09 14:36:43 -05:00
testing_units_modules.rst
testing_validate-modules.rst Fixes for validate-modules import handling. (#63932) 2019-10-30 09:48:21 -07:00