Add configuration for python code formatter black
[babeltrace.git] / pyproject.toml
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644 (file)
index 0000000..e413f22
--- /dev/null
@@ -0,0 +1,17 @@
+[tool.black]
+  skip-string-normalization = true
+  include = '''
+  (
+       \.pyi?$
+     | \.py\.in$
+  )
+  '''
+  exclude = '''
+  (
+       bindings/python/bt2/build/
+     | bindings/python/bt2/setup\.py$
+     | bindings/python/bt2/bt2/native_bt\.py$
+     | bindings/python/bt2/bt2/__init__\.py$
+
+  )
+  '''
This page took 0.023282 seconds and 4 git commands to generate.