dpdk-devbind: fix indentation
PATCH 1/1 dpdk-devbind: fix indentation
The python check tool (flake8) is picky about the indentation of continuation lines, and dpdk-devbind was not following standard.
Error is:
E127 continuation line over-indented for visual indent
Fixes 2ff801515e49 ("usertools/devbind: update octeontx2 DMA device")
Signed-off-by Stephen Hemminger <[email protected]>
--- usertools/dpdk-devbind.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
usertools/dpdk-devbind.py +5 -5
@@ -66,17 +66,17 @@ 'SVendor': None, 'SDevice': None} cnxk_sso = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f9,a0fa', - 'SVendor': None, 'SDevice': None} + 'SVendor': None, 'SDevice': None} cnxk_npa = {'Class': '08', 'Vendor': '177d', 'Device': 'a0fb,a0fc', - 'SVendor': None, 'SDevice': None} + 'SVendor': None, 'SDevice': None} cn9k_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', - 'SVendor': None, 'SDevice': None} + 'SVendor': None, 'SDevice': None} virtio_blk = {'Class': '01', 'Vendor': "1af4", 'Device': '1001,1042', - 'SVendor': None, 'SDevice': None} + 'SVendor': None, 'SDevice': None} cnxk_ml = {'Class': '08', 'Vendor': '177d', 'Device': 'a092', - 'SVendor': None, 'SDevice': None} + 'SVendor': None, 'SDevice': None} network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class] baseband_devices = [acceleration_class]
Signature · 1 line
2.43.0
Stephen Hemminger, Jul 01, 2024 at 19:45:
Quoted 9 lines
The python check tool (flake8) is picky about the indentation of continuation lines, and dpdk-devbind was not following standard.
Error is:
E127 continuation line over-indented for visual indentFixes 2ff801515e49 ("usertools/devbind: update octeontx2 DMA device")Signed-off-by Stephen Hemminger <[email protected]>---
Acked-by Robin Jarry <[email protected]>
David Marchand
AppliedQuoted 11 lines · Robin Jarry
Stephen Hemminger, Jul 01, 2024 at 19:45:
Quoted 8 lines
The python check tool (flake8) is picky about the indentation of continuation lines, and dpdk-devbind was not following standard.
Error is:
E127 continuation line over-indented for visual indentFixes 2ff801515e49 ("usertools/devbind: update octeontx2 DMA device")Signed-off-by Stephen Hemminger <[email protected]>Acked-by Robin Jarry <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand