[elbe-devel] [PATCH 2/4] flake8: configure centrally

Thomas Weißschuh thomas.weissschuh at linutronix.de
Wed Mar 27 17:23:05 CET 2024


Allow all users to easily run flake8 without having to specify the
parameters manually.
Also make sure that the correct plugins are installed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 setup.cfg | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 000000000000..a1f8bc10065a
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,7 @@
+[flake8]
+max-line-length = 100
+require-plugins = flake8-import-order flake8-quotes
+extend-exclude =
+	elbe-project-*,
+	debian/,
+	initvm/

-- 
2.44.0



More information about the elbe-devel mailing list