You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No PascalCase/camelCase filenames. Only underscores are acceptable as word delimters in file names/package names
Only classes should have PascalCase, no functions with PascalCase
Use class Foo(object) and not class Foo:
Use str.format rather than %
Variables not intended for public use should be underscore prefixed
No variables should have PascalCase. Ideally, no variables should even be camelCase
Keep stuff out of init.py. __init__.py is supposed to be a "landing page" kind of module which imports other Python modules and performs some setup/sanity (which isn't needed in this package anyway), not the main module source. This was a bad practice in rmtest, but since this is a new module, let's make it good from the start.
class Foo(object)and notclass Foo:str.formatrather than%__init__.pyis supposed to be a "landing page" kind of module which imports other Python modules and performs some setup/sanity (which isn't needed in this package anyway), not the main module source. This was a bad practice in rmtest, but since this is a new module, let's make it good from the start.