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 382C042661; Thu, 28 Sep 2023 14:18:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A40340273; Thu, 28 Sep 2023 14:18:36 +0200 (CEST) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mails.dpdk.org (Postfix) with ESMTP id 70FD84021D for ; Thu, 28 Sep 2023 14:18:34 +0200 (CEST) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-32157c8e4c7so12694398f8f.1 for ; Thu, 28 Sep 2023 05:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1695903514; x=1696508314; 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=TL0pqxp91e6x1Y10X9F0C8iDfByJuFe+TCLV3+X60BA=; b=NihdER4qH9h7CQptZRzQ4gp9NuFuZUYHhm97edqBuEC8b6N3HUKVY5A4URPHwTMuq+ yoVcvP6vlWnNyK5f90qgN+SzQ8b2rYE/i1bOmnvXAC1dx9riXFtAXfY3geoOTPFGyHkV scr53g0uEbiIF+AWxEl+UPUTb5py8xNCHIf40RQqc51QYLADHNb6jhAk1lOdDc+TmB42 C8FxVkgWi4n6H8zgiUP4DPPCy7Z5b7JxRa0yST/bhBkAsRFGVPLBq5uLD/mjwKhcT/iw pVPvdNPM8R6chcr5WcIQmxM13j/F3K/ZHmjTbni2Rtc7HAdpSF0sn0BAT4UYIY0mPu2O ArVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695903514; x=1696508314; 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=TL0pqxp91e6x1Y10X9F0C8iDfByJuFe+TCLV3+X60BA=; b=Rvc6f+gT98N01w0Z9e738dTZ+qWxM6PYilFlhadAVkfaKvqhPQUN/iNZdYSAR6IMoE NRdhVnW2DKEcLtuUFtH6HvKBEB7/kMDFGm6PunDgO3TkZ8hbZoO1WWWri9kJxNjHJlY5 nsy1xfhadIO1QLdTr+07XWBBWCJGFZW/2fFUC+MU4ihU0F6AanPxaqchFUbLAh3YIXM5 je2/8AqpjsiwJdA93PnPt1vn1hZBsk57hUzl6f/Ntt4knylIr7Iy63AIenrD/gDMtPlt 7iC7fpBVaUHzUrQEfYH9DOtSo4bVeun/pvDfQPWQ/r/Fc9IOsUH9QT3RBY0ZFYyY64fs OoJQ== X-Gm-Message-State: AOJu0YxHbisv7t2oSePp23sL3vXQ5sv+OXsacU2MVGlrxnB2V53hBGSd nNSQC5hUbRhtWzMV5aiJK6reTA== X-Google-Smtp-Source: AGHT+IEPTDFA4euo0sS8ok+eERSbdBPLGB+4cUqF7uZpGzcASmmujGsqO0B/IcZIFLqHiUwQwXsfJQ== X-Received: by 2002:adf:f14e:0:b0:324:8239:2873 with SMTP id y14-20020adff14e000000b0032482392873mr990960wro.37.1695903514070; Thu, 28 Sep 2023 05:18:34 -0700 (PDT) Received: from jlinkes-PT-Latitude-5530.. (ip-46.34.242.20.o2inet.sk. [46.34.242.20]) by smtp.gmail.com with ESMTPSA id m26-20020a056000025a00b003233a31a467sm5716869wrz.34.2023.09.28.05.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 05:18:33 -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 v3 1/2] doc: increase python max line length to 100 Date: Thu, 28 Sep 2023 14:18:29 +0200 Message-Id: <20230928121830.62608-1-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230926121013.23351-1-juraj.linkes@pantheon.tech> References: <20230926121013.23351-1-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: Owen Hilyard Signed-off-by: Juraj Linkeš --- .editorconfig | 2 +- doc/doc_build/meson-private/meson.lock | 0 doc/guides/contributing/coding_style.rst | 3 +++ dts/pyproject.toml | 4 ++-- 4 files changed, 6 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..a42cd3d58d 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -880,6 +880,9 @@ 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