[Buildroot] [git commit] .flake8: add config file for Python code style

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Fri Oct 6 17:05:18 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=918a02ce224c0adf7dda3531df8a68d6a556b30a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

We recommend wrapping at 80 columns but we accept 132 columns when it
makes more readable.

Follow up of discussion at this thread:
http://lists.busybox.net/pipermail/buildroot/2017-October/203624.html

Cc: Arnout Vandecappelle <arnout at mind.be>
Cc: Peter Korsgaard <peter at korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Yann E. MORIN <yann.morin.1998 at free.fr>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 .flake8 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..afdb967
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,2 @@
+[flake8]
+max-line-length=132


More information about the buildroot mailing list