Add setup.cfg with sensible flake8 configuration
[babeltrace.git] / setup.cfg
diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..9a58dd3
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,11 @@
+[flake8]
+# E501: line too long
+# W503: line break before binary operator (conflicts with black's way of
+#       formatting)
+ignore = E501,W503
+
+# __init__.py has a bunch of (expectedly) unused imports, so disable that
+# warning for this file.
+per-file-ignores = src/bindings/python/bt2/bt2/__init__.py:F401
+
+exclude = tests/utils/python/tap
This page took 0.024791 seconds and 4 git commands to generate.