Re: [PATCH v4 3/4] usertools/dpdk-hugepages.py: update coding style

2024-08-21 Thread Burakov, Anatoly
On 8/21/2024 11:26 AM, Robin Jarry wrote: Anatoly Burakov, Aug 21, 2024 at 11:22: Update coding style: - Make the code PEP-484 compliant - Add more comments, improve readability, use f-strings everywhere - Address all Python static analysis (e.g. mypy, pylint) warnings - Format code with Ruff -

Re: [PATCH v4 3/4] usertools/dpdk-hugepages.py: update coding style

2024-08-21 Thread Robin Jarry
Anatoly Burakov, Aug 21, 2024 at 11:22: Update coding style: - Make the code PEP-484 compliant - Add more comments, improve readability, use f-strings everywhere - Address all Python static analysis (e.g. mypy, pylint) warnings - Format code with Ruff - Improve error handling - Refactor printing

[PATCH v4 3/4] usertools/dpdk-hugepages.py: update coding style

2024-08-21 Thread Anatoly Burakov
Update coding style: - Make the code PEP-484 compliant - Add more comments, improve readability, use f-strings everywhere - Address all Python static analysis (e.g. mypy, pylint) warnings - Format code with Ruff - Improve error handling - Refactor printing and sysfs/procfs access functions - Sort