Add sanity test to check for unwanted files.

This commit is contained in:
Matt Clay 2019-05-13 09:41:14 -07:00
parent 22d7e7ea0b
commit f9b56a5b56
3 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,13 @@
Sanity Tests » no-unwanted-files
================================
Specific file types are allowed in certain directories:
- ``lib`` - All content must reside in the ``lib/ansible`` directory.
- ``lib/ansible`` - Only source code with one of the following extensions is allowed:
- ``*.cs`` - C#
- ``*.ps1`` - PowerShell
- ``*.psm1`` - PowerShell
- ``*.py`` - Python