Skip to contentSkip to conversation

dpdk-devbind: fix indentation

PATCH Applied Stephen Hemminger 3 participants 3 messages Jul 1, 2024 – Jul 9, 2024

lore
Share & tools
lore
#0 lore raw

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")
---
 usertools/dpdk-devbind.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
usertools/dpdk-devbind.py +5 -5
index a278f5e7f3..5dc42d8fe2 100755
@@ -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
Acked-by on v1 1/1
#1 lore raw

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 indent

Fixes 2ff801515e49 ("usertools/devbind: update octeontx2 DMA device")

---

#2 lore raw
Quoted 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 indent

Fixes 2ff801515e49 ("usertools/devbind: update octeontx2 DMA device")

Applied, thanks.

Signature · 1 line
David Marchand