dpdk-pmdinfo: python lint cleanups
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | dpdk-pmdinfo: replace string.split with splitusertools/ | +1 | 0 replies | |
| 2/7 | dpdk-pmdinfo: replace io.open with openusertools/ | +6 | 0 replies | |
| 3/7 | dpdk-pmdinfo: remove unnecessary paren and elseusertools/ | +16 | 0 replies | |
| 4/7 | dpdk-pmdinfo: replace is False and is Trueusertools/ | +12 | 0 replies | |
| 5/7 | dpdk-pmdinfo: fix indentationusertools/ | +2 | 0 replies | |
| 6/7 | dpdk-pmdinfo: replace deprecated optparse with argparseusertools/ | +32 | 1 reply | |
| 7/7 | dpdk-pmdinfo: do not use len(x) to test for emptyusertools/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [dpdk-dev] [PATCH v2 0/7] dpdk-pmdinfo: python lint cleanups
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
usertools/dpdk-pmdinfo.py | 132 ++++++++++++++++++-------------------- 1 file changed, 61 insertions(+), 71 deletions(-)
Signature · 1 line
2.27.0