From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 338A942354; Fri, 13 Oct 2023 09:58:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BBDF402A1; Fri, 13 Oct 2023 09:58:10 +0200 (CEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mails.dpdk.org (Postfix) with ESMTP id 49AAB4028C for ; Fri, 13 Oct 2023 09:58:08 +0200 (CEST) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-533c5d10dc7so3184672a12.3 for ; Fri, 13 Oct 2023 00:58:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1697183888; x=1697788688; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jMiEIWPstdFx0+2Cx4MujGezll3VXkGpli9V2p20jDs=; b=P7/pNqAFynXBVTELDq5KtzkdOhl25jwmo9du44g/fGfDRrql1g59oFXv8rFh1thtsC SE+eQKaQqzpSmQA2SEPwrbPxaI89/MUVFyJbcrJRm+jvYZGxsSbVmkNHADsJcT7VnpGq LsMEJho3VVcy2YMYGOc8UQEis9jKDc8Bj8nQAzp4JegoBihCUQIp84a/zV+tnFRxTSfZ 2Dly2AoEy5S4N7RWPICvMcdsEL8rdkB/EKgJiU/ztBKG6nb3H+GCIK/7tOmSuT5Pl016 ZrYYBrb1VhNQ3xnoLAu3vi8nC3teYkzk5xtUpKdrup82NZ2Av9qu+mnrGmZpJXQJfqRS nIRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697183888; x=1697788688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jMiEIWPstdFx0+2Cx4MujGezll3VXkGpli9V2p20jDs=; b=vriAct/B/elm0SVzCHV+c8sSTBjrMEb2VSTASBa5tBqKRGq9k9jwOtzCqJ67RNn0JZ 7Gwqe9zyi3a774jQPLck2OA4NGsR/dgBYmgVp8j6FYdrGEOIz+Q0RtMHudI7O5RGc5g6 x01XU64ovN4TYoDh3+6Mn748njhdsZs9BpDPAN8Fpar0qvj2KkKRfpEOCEzpDAeRjrnC Y4zPUDtMVaPMO+Lh2L6Jlkx3a/JS7d1Dd0A2A5a8r5JvC47lhGtVFalMOmvMeyeCgOqG R8sWc/69owYUBkapAWqcOOoaYnwwOjeMLivsibdFgjEHQYHsjlLW7/qwdZmItrsg55vh 8yWQ== X-Gm-Message-State: AOJu0YzEBrIht3R8HSDlkp2wWbluTVHhpchv6B1BXNT1XMrLBuUYDePA h00nXv2pLUPUsChjsBvrUfDARQ== X-Google-Smtp-Source: AGHT+IEtc9yMFN2LdEbe/nA5ANmw3gUrgBCeic4OfujO/WgxKCcgvngQAEH/lJS+zXawF862e+Z3oA== X-Received: by 2002:a50:aa96:0:b0:53e:4762:9373 with SMTP id q22-20020a50aa96000000b0053e47629373mr592380edc.18.1697183887931; Fri, 13 Oct 2023 00:58:07 -0700 (PDT) Received: from jlinkes-PT-Latitude-5530.. (ip-46.34.247.237.o2inet.sk. [46.34.247.237]) by smtp.gmail.com with ESMTPSA id i22-20020a50d756000000b0053dda7926fcsm3052410edj.60.2023.10.13.00.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 00:58:07 -0700 (PDT) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, bruce.richardson@intel.com, jspewock@iol.unh.edu, probb@iol.unh.edu, stephen@networkplumber.org Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v4 1/2] doc: increase python max line length to 100 Date: Fri, 13 Oct 2023 09:58:04 +0200 Message-Id: <20231013075805.169446-1-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230928121830.62608-2-juraj.linkes@pantheon.tech> References: <20230928121830.62608-2-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Unify with C recommendations which allow line length of up to 100 characters. Signed-off-by: Juraj Linkeš Acked-by: Bruce Richardson --- .editorconfig | 2 +- doc/doc_build/meson-private/meson.lock | 0 doc/guides/contributing/coding_style.rst | 1 + dts/pyproject.toml | 4 ++-- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 doc/doc_build/meson-private/meson.lock diff --git a/.editorconfig b/.editorconfig index ab41c95085..1e7d74213f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,7 +16,7 @@ max_line_length = 100 [*.py] indent_style = space indent_size = 4 -max_line_length = 79 +max_line_length = 100 [meson.build] indent_style = space diff --git a/doc/doc_build/meson-private/meson.lock b/doc/doc_build/meson-private/meson.lock new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index 648849899d..1ebc79ca3c 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -880,6 +880,7 @@ All Python code should be compliant with `PEP8 (Style Guide for Python Code) `_. The ``pep8`` tool can be used for testing compliance with the guidelines. +Note that line lengths are acceptable up to 100 characters, which is in line with C recommendations. Integrating with the Build System --------------------------------- diff --git a/dts/pyproject.toml b/dts/pyproject.toml index 6762edfa6b..980ac3c7db 100644 --- a/dts/pyproject.toml +++ b/dts/pyproject.toml @@ -41,7 +41,7 @@ build-backend = "poetry.core.masonry.api" [tool.pylama] linters = "mccabe,pycodestyle,pyflakes" format = "pylint" -max_line_length = 88 # https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length +max_line_length = 100 [tool.mypy] python_version = "3.10" @@ -55,4 +55,4 @@ profile = "black" [tool.black] target-version = ['py310'] include = '\.pyi?$' -line-length = 88 # https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length +line-length = 100 -- 2.34.1