fix: tests: use a portable invocation of 'sed -i'
[babeltrace.git] / CONTRIBUTING.adoc
index 069e08aa7a0f0ef9f89775cb4ab3ffcce9a18dfc..5435ff6efa1cb76474c9cd7c2113738a79512613 100644 (file)
@@ -1674,7 +1674,7 @@ https://clang.llvm.org/docs/ClangFormatStyleOptions.html[style] of the
 You _must_ format modified and new {cpp} files with clang-format before
 you create a contribution patch.
 
-You need clang-format{nbsp}14 to use the project's `.clang-format` file.
+You need clang-format{nbsp}15 to use the project's `.clang-format` file.
 
 To automatically format all the project's {cpp} files, run:
 
@@ -1948,3 +1948,13 @@ 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`.
+
+All Python imports must be sorted using the version of
+https://pycqa.github.io/isort/[isort] indicated in `dev-requirements.txt`.
This page took 0.027697 seconds and 4 git commands to generate.