On 28/8/20 1:44 am, Gedare Bloom wrote: > https://docs.rtems.org/branches/master/eng/coding-file-hdr.html#python-file-template
I have reviewed the templates and I will post some minor changes. The Python one should change ... # File documentation block to ... ''Module documentation block''' The pylint tools points this out. I have hit some issues with pylint, for example this pattern is not handled and it is annoying: class foo: def __init__(self): self._reinit() def _reinit(self): self.bar = None def get_bar(self): # Attribute 'bar' \ # defined outside __init__ (attribute-defined-outside-init) return self.bar def restart(self): self._reinit() I do not like the idea of directly calling __init__, maybe this is a C++ thing. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel