[dpdk-dev] [PATCH v2 0/7] dpdk-pmdinfo: python lint cleanups
Thomas Monjalon
thomas at monjalon.net
Sun Nov 22 21:54:35 CET 2020
04/11/2020 07:48, Stephen Hemminger:
> Ran dpdk-pmdinfo through Python3 lint and it had lots of complaints.
> These are the obvious simple ones to fix. Skipped adding docstrings
> everywhere and doing large scale variable recasing.
>
> v2 - split out the pmdinfo specific part
> incorporate feedback from Bruce about last use of len()
>
> Stephen Hemminger (7):
> dpdk-pmdinfo: replace string.split with split
> dpdk-pmdinfo: replace io.open with open
> dpdk-pmdinfo: remove unnecessary paren and else
> dpdk-pmdinfo: replace is False and is True
> dpdk-pmdinfo: fix indentation
> dpdk-pmdinfo: replace deprecated optparse with argparse
> dpdk-pmdinfo: do not use len(x) to test for empty
Applied, thanks
More information about the dev
mailing list