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 A7FD04317A; Mon, 16 Oct 2023 08:46:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7264D402BE; Mon, 16 Oct 2023 08:46:04 +0200 (CEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id D6C6A40299 for ; Mon, 16 Oct 2023 08:46:03 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-40651a72807so39879715e9.1 for ; Sun, 15 Oct 2023 23:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1697438763; x=1698043563; 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=c0QdaKgIflcaXqUXemc6GB3ENwPA3uk+dcshNV4Z0gM=; b=SQMk4PO3dUDLfJtIKg4RY/KZ+z6Qm8x1GMoLg5FaN4WDkEghsYJYQN3rgDmB91bdSo Iytzz4chZb+MNd4EJoGPWq1qcXvLCD3zg611WhsUUwyJR27M/g0JrOmu1UnRmFvWQfS7 CmFECL3DQisSiHvGiQLHq1vxsX7bFub2GviVsIxgSWllb3MOGxdDV1a11ysfTOJd/YOY fCPcco8qcpEpIDmwuqKEUG3YYgQbCKbDkTNuL8MEwEvB5qjT2f6nvFbpim2yenX9QxwS eIV63lQUtUHNXQhgtMLrNIM1YeDDXcbM2h9VIIZkRtj+7zZpY/4WiwuaK/Iba/NE/TIz LrjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697438763; x=1698043563; 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=c0QdaKgIflcaXqUXemc6GB3ENwPA3uk+dcshNV4Z0gM=; b=a7FUMXxFvk4iMOy6X/jOi80yJ3bLZ+v/+BFZoCMSvtW0XsPnbtSTfYTDM5in8z4Iqk JGQnmFAkPH0l644OBmmZweWp43qhkojWl6s+0jitSfBf3k+FTitAps6oqLO50BxuhWwb ORjFt8R9AtUrtSrKdcMQFX9V0GibDZwKDWjfWloUVNYDBk16qGaExQYrW5bTrO/VyIpg iIXsm5IT6dUn8JEMWQtx8FuXLBSJhN69D3H54VBCLuRMvJ7TP5pL6Iv+qKs8DPCkHa27 p6S/qTjrKZ1Xnui0LbFqyA6MT9QW8P6uz26GRqR3udyrpYRX7xKGFmJrW525Vz+sWbis mzkg== X-Gm-Message-State: AOJu0YwXe2DCpjm8UmXHC+nEg2utq03+Q62sLBWQWy0Hqw0Z2w6Hflbu MK67j4xj34nIzyYc7UThgiKalQ== X-Google-Smtp-Source: AGHT+IFTUESM6TCFoirQ8Q+UaOxHq0qQaRtx4+4vWRB+e5XFNQZsDreM9DbAb4ri01fcFRPttvG+qg== X-Received: by 2002:a05:600c:358f:b0:407:4944:76d1 with SMTP id p15-20020a05600c358f00b00407494476d1mr18218408wmq.17.1697438763384; Sun, 15 Oct 2023 23:46:03 -0700 (PDT) Received: from jlinkes-PT-Latitude-5530.. (ip-46.34.233.57.o2inet.sk. [46.34.233.57]) by smtp.gmail.com with ESMTPSA id o9-20020a5d4749000000b0032d9523de65sm9219440wrs.48.2023.10.15.23.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 23:46:02 -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 Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v5 1/2] doc: increase python max line length to 100 Date: Mon, 16 Oct 2023 08:45:58 +0200 Message-Id: <20231016064559.17609-1-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231013075805.169446-2-juraj.linkes@pantheon.tech> References: <20231013075805.169446-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/guides/contributing/coding_style.rst | 1 + dts/pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) 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/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