mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07: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:
parent
a130549ead
commit
5f29cd5e60
3 changed files with 17 additions and 5 deletions
|
@ -30,6 +30,7 @@ All modules must have the following sections defined in this order:
|
|||
If you look at some existing older modules, you may find imports at the bottom of the file. Do not copy that idiom into new modules as it is a historical oddity due to how modules used to be combined with libraries. Over time we're moving the imports to be in their proper place.
|
||||
|
||||
|
||||
.. _copyright:
|
||||
|
||||
Copyright
|
||||
----------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue