add hacking check for config options location

This adds a hackign check which raises a pep8 error if a config
option was found in location where it shouldn't be.

Change-Id: I75df3404cc6178aa179e96d75f154e389c3008af
This commit is contained in:
Markus Zoeller 2015-11-24 17:37:13 +01:00
parent 15389435aa
commit c9c1770a31

View File

@ -52,6 +52,7 @@ Nova Specific Commandments
- [N339] Check common raise_feature_not_supported() is used for v2.1 HTTPNotImplemented response. - [N339] Check common raise_feature_not_supported() is used for v2.1 HTTPNotImplemented response.
- [N340] Check nova.utils.spawn() is used instead of greenthread.spawn() and eventlet.spawn() - [N340] Check nova.utils.spawn() is used instead of greenthread.spawn() and eventlet.spawn()
- [N341] contextlib.nested is deprecated - [N341] contextlib.nested is deprecated
- [N342] Config options should be in the central location ``nova/conf/``
Creating Unit Tests Creating Unit Tests
------------------- -------------------