Prevent new code from using namespaced oslo imports
Ib63da2d845843410634a1df0261af33b973daf32 is an example where new code had to be fixed for oslo_concurrency imports. Let us add a hacking check to prevent such regression. When we update to new oslo libraries with non-namespace'd imports, we should update the regexp in this hacking rule Change-Id: I44536d477d06ddc1205b824bcb888b666405dce3
This commit is contained in:
parent
b36fa81a75
commit
48dd5e1bed
@ -45,6 +45,7 @@ Nova Specific Commandments
|
||||
- [N330] Validate that LOG.warning messages use _LW.
|
||||
- [N331] Change LOG.warn on LOG.warning.
|
||||
- [N332] Check that the api_version decorator is the first decorator on a method
|
||||
- [N333] Check for oslo library imports use the non-namespaced packages
|
||||
|
||||
Creating Unit Tests
|
||||
-------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user