pwang7 / rebook

96 stars 11 forks source link

Code quality improvement : variable name (PEP8) #9

Open R-e-d-J opened 3 years ago

R-e-d-J commented 3 years ago

Function and Variable Names Function names should be lowercase, with words separated by underscores as necessary to improve readability. Variable names follow the same convention as function names. mixedCase is allowed only in contexts where that's already the prevailing style (e.g. threading.py), to retain backwards compatibility. (from PEP8 : https://www.python.org/dev/peps/pep-0008/#function-and-variable-names)

You use a lot of CamelCase (e.g.: deviceComboBox, unitTextLabel, …) and from the line 1330 you use "opt[1-13]" as variable name.