Re: Naming in PyQt programs and PEP8 naming convention
V. Armando Solé <[email protected]> Wed, 1 Apr 2020 16:13:55 +0200
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
Hello, 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 compliant: """ 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 the module. 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 ;) Best regards, Armando _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt