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 diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index c314d83a29..205b8a52bf 100755 --- a/devtools/checkpatches.sh +++ b/devtools/checkpatches.sh @@ -15,7 +15,7 @@ VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.sh # Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path # to a dictionary.txt file if dictionary.txt is not in the default location. codespell=${DPDK_CHECKPATCH_CODESPELL:-enable} -length=${DPDK_CHECKPATCH_LINE_LENGTH:-80} +length=${DPDK_CHECKPATCH_LINE_LENGTH:-100} # override default Linux options options="--no-tree" diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index b27b5fcfdb..1ce5d00e36 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -27,7 +27,7 @@ Line length is recommended to be not more than 80 characters, including comments .. note:: The above is recommendation, and not a hard limit. - However, it is expected that the recommendations should be followed in all but the rarest situations. + Generally, line lengths up to 100 characters are acceptable in the code. C Comment Style ---------------