DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] editorconfig: bump line length to 100
@ 2021-10-20 13:48 Bruce Richardson
  2021-10-20 13:57 ` Andrew Rybchenko
  2021-10-20 14:26 ` [dpdk-dev] [PATCH v2] devtools: clarify that lines up to 100 characters are ok Bruce Richardson
  0 siblings, 2 replies; 11+ messages in thread
From: Bruce Richardson @ 2021-10-20 13:48 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson

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@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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-25 10:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 13:48 [dpdk-dev] [PATCH] editorconfig: bump line length to 100 Bruce Richardson
2021-10-20 13:57 ` Andrew Rybchenko
2021-10-20 14:11   ` Bruce Richardson
2021-10-20 14:14   ` Bruce Richardson
2021-10-20 14:26 ` [dpdk-dev] [PATCH v2] devtools: clarify that lines up to 100 characters are ok Bruce Richardson
2021-10-20 14:28   ` Andrew Rybchenko
2021-10-22  0:11     ` Jerin Jacob
2021-11-25 10:51       ` Thomas Monjalon
2021-10-22  8:21   ` Xia, Chenbo
2021-10-26  0:30   ` fengchengwen
2021-10-28 13:14   ` Walsh, Conor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).