docs: coding style: Add usage of black for formatting python code
authorKienan Stewart <kstewart@efficios.com>
Mon, 12 Feb 2024 21:00:42 +0000 (16:00 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2024 15:41:33 +0000 (10:41 -0500)
Change-Id: I73131b9cae9de05be0e85d197edb1976b762402e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
CodingStyle.md

index 3074ea8836716531ea121b8055fd6e70385918c1..b1f5be1ddd5a4ba7f2a415fc3a0c2806fd0bbf5b 100644 (file)
@@ -263,6 +263,10 @@ Here are a couple of reminders:
 
 * Accept a by-value parameter and move it (when it's moveable) when you intend to copy it anyway. You can do this with most STL containers.
 
+## Python
+
+Python code should be formatted using [black](https://github.com/psf/black).
+
 ## C Style (historical)
 
 The coding style used for this project follows the the Linux kernel guide lines, except that brackets `{`, `}` should typically be used even for single-line if/else statements. Please refer to:
This page took 0.025468 seconds and 4 git commands to generate.