[dpdk-dev] [PATCH] editorconfig: bump line length to 100
Bruce Richardson
bruce.richardson at intel.com
Wed Oct 20 15:48:40 CEST 2021
Since we allow line lengths of up to 100, adjust the editorconfig to use
that value, to save editors (such as vim) from automatically wrapping
lines at 80 characters when typing.
Since python checkers all seem to expect 79 character lines max, add for
python only a 79-char max line length.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
.editorconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.editorconfig b/.editorconfig
index 5101630c8c..ab41c95085 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -11,11 +11,12 @@ trim_trailing_whitespace = true
charset = utf-8
indent_style = tab
tab_width = 8
-max_line_length = 80
+max_line_length = 100
[*.py]
indent_style = space
indent_size = 4
+max_line_length = 79
[meson.build]
indent_style = space
--
2.30.2
More information about the dev
mailing list