File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1732,6 +1732,23 @@ def run(self):
1732
1732
self .failure (f"Missing { maintainers_file } entry for: \" { area } \" " )
1733
1733
1734
1734
1735
+ class ZephyrModuleFile (ComplianceTest ):
1736
+ """
1737
+ Check that no zephyr/module.yml file has been added to the Zephyr repository
1738
+ """
1739
+ name = "ZephyrModuleFile"
1740
+ doc = "Check that no zephyr/module.yml file has been added to the Zephyr repository."
1741
+
1742
+ def run (self ):
1743
+ module_files = [ZEPHYR_BASE / 'zephyr' / 'module.yml' ,
1744
+ ZEPHYR_BASE / 'zephyr' / 'module.yaml' ]
1745
+
1746
+ for file in module_files :
1747
+ if os .path .exists (file ):
1748
+ self .failure (f"A zephyr module file has been added to to the Zephyr repository" )
1749
+ break
1750
+
1751
+
1735
1752
class YAMLLint (ComplianceTest ):
1736
1753
"""
1737
1754
YAMLLint
You can’t perform that action at this time.
0 commit comments