Exclude plugins from custom_guidelines.py
This is broken by our plugin package magic, so lets exclude the plugin package from this tool. Change-Id: I2da474b706cdb33e98675edabb0f607106c816d0
This commit is contained in:
parent
2f9b344c67
commit
6e2d1a459a
|
@ -36,6 +36,9 @@ class HeatCustomGuidelines(object):
|
|||
# Skip resources, which defined as template resource in environment
|
||||
if cls.__module__ == 'heat.engine.resources.template_resource':
|
||||
continue
|
||||
# Skip discovered plugin resources
|
||||
if cls.__module__ == 'heat.engine.plugins':
|
||||
continue
|
||||
if (lambda module: True
|
||||
if [path for path in exclude if path in module]
|
||||
else False)(cls.__module__.replace('.', '/')):
|
||||
|
|
Loading…
Reference in New Issue