On 01/09/2020 08:15, Chris Johns wrote:
On 1/9/20 2:45 pm, Sebastian Huber wrote:
All the examples in PEP 257 use """ strings. I used this style for all the new
Python code in rtems-central. Could we use """ instead of '''?
Is this just for docstrings?

I used "" for all strings. The reason was that the black Python formatter used this style:

https://black.readthedocs.io/en/stable/

We use now yapf. This formatter doesn't enforce a string style.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to