[PyQt] Naming in PyQt programs and PEP8 naming convention
V. Armando Solé
sole at esrf.fr
Wed Apr 1 15:13:55 BST 2020
I always thought that strict application of PEP8 to any PyQt based
project would imply that one would have to use camelCase to be PEP8
A style guide is about consistency. Consistency with this style guide is
important. Consistency within a project is more important. Consistency
within one module or function is the most important.
However, know when to be inconsistent -- sometimes style guide
recommendations just aren't applicable. When in doubt, use your best
judgment. Look at other examples and decide what looks best. And don't
hesitate to ask!
Any module inheriting PyQt will need camelCase to be consistent within
A GUI project will need several modules -> camelCase to be consistent
within the GUI project.
Just an interpretation of PEP8 as valid as anyone's else ;)
More information about the PyQt