[PATCH v3 3/4] usertools/dpdk-hugepages.py: update coding style
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 20 17:52:05 CEST 2024
On Tue, 20 Aug 2024 16:35:16 +0100
Anatoly Burakov <anatoly.burakov at intel.com> wrote:
> Update coding style:
>
> - Make the code PEP-484 compliant
> - Add more comments, improve readability, use f-strings everywhere
> - Use quotes consistently
> - Address all Python static analysis (e.g. mypy, pylint) warnings
> - Improve error handling
> - Refactor printing and sysfs/procfs access functions
> - Sort output by NUMA node
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Looks good, but not sure if always using single quote is really necessary.
Many python programs seem to use either one indiscriminately.
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list