mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add validation test for new copyright (#32919)
* Update validation test for new copyright Ensure new modules without the new copyright header fail validation Ensure existing modules without copyright in top 20 lines fail * Add documentation of 108 error Create label in developing modules documentation so that the validation page can point to it * Ensure new style copyright header passes test!
This commit is contained in:
committed by
Toshio Kuratomi
parent
a130549ead
commit
5f29cd5e60
@@ -69,6 +69,7 @@ Errors
|
||||
106 Import found before documentation variables. All imports must appear below
|
||||
``DOCUMENTATION``/``EXAMPLES``/``RETURN``/``ANSIBLE_METADATA``
|
||||
107 Imports should be directly below ``DOCUMENTATION``/``EXAMPLES``/``RETURN``/``ANSIBLE_METADATA``
|
||||
108 GPLv3 license header should be the :ref:`short form <copyright>` for new modules
|
||||
..
|
||||
--------- -------------------
|
||||
**2xx** **Imports**
|
||||
|
||||
Reference in New Issue
Block a user