iXsystems / cinder

Other
35 stars 18 forks source link

OpenStack Cinder driver upstream submission code update #37

Closed YiHuangDB closed 1 year ago

YiHuangDB commented 1 year ago

OpenStack Cinder driver upstream submission code update to compliance with OpenStack code standard, changes include:

  1. PEP8 code update
  2. Code inline document update
  3. Exception update
  4. With context manager update
  5. Required interface update
  6. Move some protected class method to exported class method
  7. Use python3 build-in function next instead of next() function call
  8. Make exception explicit instead of general exception

Detailed information attached in review comments.