Re: [PATCH v1 1/2] usertools/cpu_layout: update coding style

2024-08-19 Thread Stephen Hemminger
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

Re: [PATCH v1 1/2] usertools/cpu_layout: update coding style

2024-08-19 Thread Burakov, Anatoly
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-b

Re: [PATCH v1 1/2] usertools/cpu_layout: update coding style

2024-08-19 Thread Robin Jarry
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, than

[PATCH v1 1/2] usertools/cpu_layout: update coding style

2024-08-14 Thread Anatoly Burakov
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 --- usertools/cpu_layout.py | 162 ++