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 0754C45B1E; Sat, 12 Oct 2024 19:58:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D598402ED; Sat, 12 Oct 2024 19:58:20 +0200 (CEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id C502D402ED for ; Sat, 12 Oct 2024 19:58:18 +0200 (CEST) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-20c544d34bcso27794575ad.1 for ; Sat, 12 Oct 2024 10:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728755898; x=1729360698; 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=zkOCprcGd+3VDVygRtE4z+R4qd1K+FdCJD1Z0K1yqls=; b=LYJMuYBM6vPjjFn3JMB2dlXTa6fKc0h2mNLJ+TZGAu+blqqkXdcADnl8ytc1Xw3WbB xdREXgQiFBwiiY74Al/4Pe0c7YxO8/2Fg8mSALC53PZc95iaW/53e2+JHpTQKqdfgJw4 frgbOQRRDUeBbDVXqOn2Qxai2x1kUTGl0RNsf+D5mdGQllwzn+w1zCoFarriTkazvYeN JOEhmF4vGJ0FBKzUpsxzNgvq+jXQ/PFh49PAxlvF4/fMh/qLa7IU+9WjTI9d2O6rgDIs TFDgkCBOuAV+5p8jLWeAyPSANt3mCEui1mExF3jy7SljbiIeY232QiOnJbuNgNB2Txkt y4ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728755898; x=1729360698; 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=zkOCprcGd+3VDVygRtE4z+R4qd1K+FdCJD1Z0K1yqls=; b=Y5tFgTzBpoYU6pshDDHfAyRnEweR7flrkLZkO2yVhuahFEiYSopjQs0qbsofWty014 cPkFpnofSRnd/HSDlhZTxDJrKgy7GpSztC60T67QoO3SI/EsJgnsa28PDdIdqRk7ll5a Vj3b7M6EzMGFxon8KD1fuIKp+TNhz6+VAM7fAuD440ff9AqG639LWqWWJJLkYWgoeH9j CMERTS9ufmo48xJa5thTn2vyOVec7pDAjV+cUchEWPcSSIDLQHvqJ933CkNJduaMBGah ClszqNUjpScFhRsYNqxFvGX1sTqlYoAlyELhKrBwbpDXdFmyBcJMODYUV2gHDVZ9lRsZ 7nGA== X-Gm-Message-State: AOJu0YxbTVXwLOjOk9fIUf395tKTIMWL+htkBnuOsvc2nlYdmJjR1pPw /8jeXTMYtjCU3xZcnrahMACzd2Z3GgTmC49imJ3UDw0ev4u/g6zmDKVU970dK4zi3l9/D4bBAYA H X-Google-Smtp-Source: AGHT+IF+pcOnLl/uRSb5HACubrD1Ue5yUdlR6J8wJnwpj5lN3SzerzSTKRNkk9u/lru0jnDLU7zXGQ== X-Received: by 2002:a17:902:cec2:b0:20c:7485:891c with SMTP id d9443c01a7336-20cbb24ca76mr46087365ad.54.1728755897991; Sat, 12 Oct 2024 10:58:17 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c8c0e9b8fsm39713815ad.161.2024.10.12.10.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2024 10:58:17 -0700 (PDT) Date: Sat, 12 Oct 2024 10:57:15 -0700 From: Stephen Hemminger To: Anatoly Burakov Cc: dev@dpdk.org, Robin Jarry , bruce.richardson@intel.com Subject: Re: [PATCH v6 1/4] usertools/cpu_layout: update coding style Message-ID: <20241012105715.30ed25b8@hermes.local> In-Reply-To: <3dd16eeb15638b8429c38fa77aa83101bf375143.1724323106.git.anatoly.burakov@intel.com> References: <3dd16eeb15638b8429c38fa77aa83101bf375143.1724323106.git.anatoly.burakov@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 Thu, 22 Aug 2024 11:38:23 +0100 Anatoly Burakov wrote: > Update coding style: > > - make it PEP-484 compliant > - format code with Ruff > - address all mypy etc. warnings > - use f-strings in place of old-style string interpolation > - refactor printing to make the code more readable > - read valid CPU ID's from "online" sysfs node > > Signed-off-by: Anatoly Burakov > Acked-by: Robin Jarry Acked-by: Stephen Hemminger