[PATCH] tester: Change to a simpler TFTP server
Chris Johns
chrisj at rtems.org
Mon Aug 31 00:00:57 UTC 2020
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
More information about the devel
mailing list