[PATCH 0/1] Add Python development guidelines

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 16 15:10:55 UTC 2020


This is a first draft of the Python development guildelines for the
RTEMS Software Engineering manual.

For the static analysis tools flake8, pylint, and mypy you can use
configuration files. I would start with the default configuration. For
pylint, you can dump the default configuration with "pylint
--generate-rcfile". Should we use a particular pylint version to
generate configuration file for the RTEMS Project or should we just use
whatever a future version will use as default?  I am not sure about the
mypy configuration.

How do we want to install the Python development tools? In the
rtems-qual repository I simply set up a virtual environment with a
simple Makefile:

https://git.rtems.org/sebh/rtems-qual.git/tree/Makefile

I think we should install specific versions of the tools to avoid that
different developers get different tool reports.

How could a waf integration look like?

Sebastian Huber (1):
  eng: Add Python development guidelines

 eng/management.rst   |   1 +
 eng/python-devel.rst | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 137 insertions(+)
 create mode 100644 eng/python-devel.rst

-- 
2.16.4



More information about the devel mailing list