[Buildroot] [PATCH v2 5/6] .flake8: add config file for Python code style
Ricardo Martincoski
ricardo.martincoski at gmail.com
Thu Oct 5 21:42:11 UTC 2017
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>
---
Changes v1 -> v2:
- new patch
Following patch is replaced by this one:
http://patchwork.ozlabs.org/patch/820324/
Number of warnings reported by flake8 for the test infra:
before: 17
after: 2
---
.flake8 | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 .flake8
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000000..afdb967930
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,2 @@
+[flake8]
+max-line-length=132
--
2.13.0
More information about the buildroot
mailing list