aliyun/plugsched

Introduce code style for python code

Closed this issue · 0 comments

For c code style, we follow Linux kernel, but what about the python code? 50+% code is written in python, and some of them are poorly written. For examples:

  1. lots of long lines, ( > 120 character)
  2. Variable names are arbitrary
  3. Mix use of "" and ''

For python code, we'd like to follow pep8 style.
https://peps.python.org/pep-0008/