From 7554731eee0bd061ac0cf55484a64a514913d148 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 15 Sep 2023 15:55:20 -0400 Subject: [PATCH] Document usage of Black in CONTRIBUTING.adoc Mention that all Python code must be formatted using Black. Change-Id: I420c4e5a75b34eae40da83ae09d5fd76d8eddb0f Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/10888 Tested-by: jenkins Reviewed-by: Philippe Proulx --- CONTRIBUTING.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index a99fae13..5937194f 100644 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -1948,3 +1948,10 @@ private: #endif // BABELTRACE_BABY_HPP ---- ==== + +== Python Usage + +=== Formatting + +All Python code must be formatted using the version of +https://github.com/psf/black[Black] specified in `dev-requirements.txt`. -- 2.34.1