X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=CodingStyle.md;h=b1f5be1ddd5a4ba7f2a415fc3a0c2806fd0bbf5b;hb=cd96f17f874d69f79b487dbf6c84257e44be9043;hp=3074ea8836716531ea121b8055fd6e70385918c1;hpb=21fe6b7161cc96351f4fd28c991da9e4b0bd2807;p=lttng-tools.git diff --git a/CodingStyle.md b/CodingStyle.md index 3074ea883..b1f5be1dd 100644 --- a/CodingStyle.md +++ b/CodingStyle.md @@ -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: