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 34B1C4337E; Mon, 20 Nov 2023 13:36:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B662F42DDE; Mon, 20 Nov 2023 13:36:50 +0100 (CET) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id 83F5042DD2 for ; Mon, 20 Nov 2023 13:36:48 +0100 (CET) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-32f7abbb8b4so2872555f8f.0 for ; Mon, 20 Nov 2023 04:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1700483808; x=1701088608; 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=sdsWDyxXBGfI+psKsSgxZChCX+PiqaAZPoyZD8YU9tBJsby0pfNSwG1xq/0wFiu33X MKaLxO21VWAhHBFAB3TPQYTb7fjLRfeW+Zv4mq3W3ahebObGyaQ6srzjm+2IioJuvNA0 6h6a0A/Sf9RJphCwggeviDwPQsOs3bwyLtqCEhs8gyrkKR8HNqjKylTfY70XmsxO5gI/ dfbcXhy4BsM5CLMLorF5hkubenwxUYcs7i6Nhpy5QFN/++JJxUHxQFYD73Ayu84Z4sBl 5HKsozyuKSgWy5OsAuDEEJkHBlkSDegI/XJQ90Jd7X8r+eOea7zAsslq4XZwrNBRlgfN iECg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700483808; x=1701088608; 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=dFLOlW78cg3SuDbu4I7jnACHN2BcysNQCoJ/r1/HG7C9EztTJlutwBbrmlHG5cfPRH FEDK9U74IlvQOqYyPsyLwBmjMJBgSXkCPWkz89eKT2mKeMmUAhaMh0mOmzcqgw8QXjuy TIBn/RsOFgxtdHuhjJ5JZDMeWahwXh0jO4UNB++pTup73Q5mR3YuMlAs+qywcXOvbkjL yiK6WBas825ZsVHs4o+K5aUG/39VtjTnKGzTfwz5CBLbk9M+XovMHRMwYgYL+jWMbJf2 kTl1p/XEg0DRES5EttFgXjwa2biZtJRm1PWraJzWxLulTpIXgM2tscEzGmglhBatx2T9 FqvA== X-Gm-Message-State: AOJu0Ywt+nf4fQ5wQdeYKMWuVafWCogBdOkcY9zp+d6l7ockwjqz7IK3 +bZ2/KICLvfWB5JwtE5K6u8Z9Q== X-Google-Smtp-Source: AGHT+IGbdC4CGIT44JazMTkk5iTMpBhD7gmqyAs/MhAluOmaqgqcH7wY2astn00KbfG5CmB+K+RMjg== X-Received: by 2002:a5d:5f94:0:b0:32f:8a45:93a8 with SMTP id dr20-20020a5d5f94000000b0032f8a4593a8mr5525044wrb.0.1700483808259; Mon, 20 Nov 2023 04:36:48 -0800 (PST) Received: from jlinkes-PT-Latitude-5530.. ([84.245.120.253]) by smtp.gmail.com with ESMTPSA id s13-20020a5d6a8d000000b0032fbe5b1e45sm10963809wru.61.2023.11.20.04.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 04:36:48 -0800 (PST) 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, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, stephen@networkplumber.org Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v6 1/2] doc: increase python max line length to 100 Date: Mon, 20 Nov 2023 13:36:45 +0100 Message-Id: <20231120123646.43994-1-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231016064559.17609-2-juraj.linkes@pantheon.tech> References: <20231016064559.17609-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