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 BAB2C45813; Mon, 19 Aug 2024 17:13:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E68A40658; Mon, 19 Aug 2024 17:13:05 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id 200C140267 for ; Mon, 19 Aug 2024 17:13:04 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-7105043330aso3533437b3a.0 for ; Mon, 19 Aug 2024 08:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1724080383; x=1724685183; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Fovt7PpRLOWfNqdjaqb1VjFea6jlVFFzyAqKa+7vM9w=; b=tiN6+rifP4ASsQKCzG5Cwhu5yek0N6Wrtjpiinh8zXoBq1MQ3CpOI9Z/9cpjguFVJP MhsxAT96zyGTlUhnVtw2aqiiK8t8w3FRK/pO2rZr6+AGYB+wORqTzY+dXHmH/pvhRNGj HWQ3QN8ghhxT82dBsPlLZoADuo2g+udSSxNHrhTOmGo3IbNAo6gO7oW2KZNaaIu8dGCe LY011te7pzOm3JR6xWtJMeYAskjitTxZLy/i2AGOkHytYAtQ54NL/mUVa2saErzCX7tR IQ8oUNfEV1CJw7tADoLC9xBp1q17KO4ENjpF/X99MMFL9dAmj1cwZ+ntgON7lkr3JPPa 8fwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724080383; x=1724685183; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Fovt7PpRLOWfNqdjaqb1VjFea6jlVFFzyAqKa+7vM9w=; b=YTnFKEly9rWDTDmLy7f/kErL4iWIJ8cHrTegZkCkolsbN63Jhb2h/dolH9HPiSQPiV rTUpjWqpJ/JRW37g4fNX9DczvYTYeGU9G5MuDGXEdQoz29KZpjH+HF1PSJngMh+uyYm2 J1sHmewUlOlIpS3yRL4IrN3olcEiyjTOxyNorZD0jKZDOVs6A+Y0dO1z/bbv9Vi1pAXV x9MVpzjJ8lodUaY0tZ8qrqWTE4yXbvrfgaEE+W2qxWXhos04nKWndcJAg3t2yUKkeWtT q5Bdm0pJF1pbLeArxp/0D+m66qbnrYdIuTAts5jB3QTpzUS23S6m5/HqBn3TfYY0YpHA m+kg== X-Forwarded-Encrypted: i=1; AJvYcCV9ZIKRVwfnDg31j9XYr5YYVBHqnr4OWaXg5raCXyu71k+3FEd3QGTa7/iITs5idOZQhYeD5wMqGAgePIk= X-Gm-Message-State: AOJu0YwZ9Q+lLSt8FNmODstNH6NxlaZAwkkwBMUi0OoHYF/32jSLt3em lORmdcK7N7LK6FgV3wODvwrNEH1mS6A+/nQTdppJtrkOc8a+KaG/gt09HiSmk/0= X-Google-Smtp-Source: AGHT+IHLBWo9YS6V42YZf+tzl6FhqMwBI41Kc7PSMrc0SElznx8z6G/+mNiL0vuiASPht7iMS3m15g== X-Received: by 2002:a05:6a20:dda9:b0:1ca:c673:9796 with SMTP id adf61e73a8af0-1cac67399dfmr203923637.12.1724080382902; Mon, 19 Aug 2024 08:13:02 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7c6b61a71bdsm6700645a12.6.2024.08.19.08.13.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 08:13:02 -0700 (PDT) Date: Mon, 19 Aug 2024 08:13:01 -0700 From: Stephen Hemminger To: "Burakov, Anatoly" Cc: Robin Jarry , , Subject: Re: [PATCH v1 1/2] usertools/cpu_layout: update coding style Message-ID: <20240819081301.44edd809@hermes.local> In-Reply-To: <26773a01-1d29-4d6e-a5c0-4c854c3d43f5@intel.com> References: <26773a01-1d29-4d6e-a5c0-4c854c3d43f5@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Mon, 19 Aug 2024 11:36:44 +0200 "Burakov, Anatoly" wrote: > On 8/19/2024 11:26 AM, Robin Jarry wrote: > > Anatoly Burakov, Aug 14, 2024 at 13:19: > >> Update coding style: > >> > >> - make it PEP-484 compliant > >> - address all flake8, mypy etc. warnings > >> - use f-strings in place of old-style string interpolation > >> - refactor printing to make the code more readable > >> > >> Signed-off-by: Anatoly Burakov > >> --- > > > > Hi Anatoly, > > > > thanks for the patch. Did you format the code using black/ruff? I'd like > > to start keeping python code formatting consistent across user tools. > > I don't think I did any formatting with a specific tool. Rather, my IDE > had flake8 set up to give me warnings if there are issues with > formatting, and it also does formatting, so this would effectively be > the same thing. I tend to use yapf3