pylint 4.0.5 astroid 4.0.4 Python 3.14.4 (main, Apr 16 2026, 00:00:00) [GCC 16.0.1 20260321 (Red Hat 16.0.1-0)] Redirect to /tmp/tmp.ZVMrGjrcoG and /tmp/tmp.CW3b3FVTwF Tree base: 82968921d206 ("Merge branch 'dpll-add-pin-operational-state'") Now at: e796b68e191b ("selftests: drv-net: Enable ntuple-filters if supported") ====== Checking before the patch ====== ************* Module gro tools/testing/selftests/drivers/net/gro.py:175:0: R0913: Too many arguments (7/5) (too-many-arguments) tools/testing/selftests/drivers/net/gro.py:175:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) tools/testing/selftests/drivers/net/gro.py:372:0: R0914: Too many local variables (20/15) (too-many-locals) ------------------------------------------------------------------ Your code has been rated at 9.86/10 (previous run: 9.86/10, -0.00) ************* Module gro_hw tools/testing/selftests/drivers/net/hw/gro_hw.py:185:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/drivers/net/hw/gro_hw.py:185:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) ------------------------------------------------------------------ Your code has been rated at 9.86/10 (previous run: 9.86/10, -0.01) ************* Module iou-zcrx tools/testing/selftests/drivers/net/hw/iou-zcrx.py:33:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:39:0: C0301: Line too long (103/100) (line-too-long) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:1:0: C0103: Module name "iou-zcrx" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:26:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:32:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:38:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:44:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:72:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:107:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:122:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:144:26: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:160:0: C0116: Missing function or method docstring (missing-function-docstring) ------------------------------------------------------------------ Your code has been rated at 8.80/10 (previous run: 8.90/10, -0.10) ************* Module ntuple tools/testing/selftests/drivers/net/hw/ntuple.py:25:0: C0301: Line too long (104/100) (line-too-long) tools/testing/selftests/drivers/net/hw/ntuple.py:15:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/drivers/net/hw/ntuple.py:34:12: R1728: Consider using a generator instead 'max(x['queue-id'] for x in data)' (consider-using-generator) tools/testing/selftests/drivers/net/hw/ntuple.py:75:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/drivers/net/hw/ntuple.py:75:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) ------------------------------------------------------------------ Your code has been rated at 9.48/10 (previous run: 9.60/10, -0.12) ************* Module rss_ctx tools/testing/selftests/drivers/net/hw/rss_ctx.py:62:0: C0301: Line too long (104/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:70:0: C0301: Line too long (110/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:281:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:285:0: C0301: Line too long (107/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:293:0: C0301: Line too long (110/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:314:0: C0301: Line too long (106/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:506:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:507:0: C0301: Line too long (106/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:509:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:596:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:648:0: C0301: Line too long (101/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:762:0: C0301: Line too long (103/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:813:0: C0301: Line too long (103/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:1:0: C0302: Too many lines in module (1034/1000) (too-many-lines) tools/testing/selftests/drivers/net/hw/rss_ctx.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:20:21: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/drivers/net/hw/rss_ctx.py:36:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:40:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:50:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:57:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:65:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:79:12: R1728: Consider using a generator instead 'max(x['queue-id'] for x in data)' (consider-using-generator) tools/testing/selftests/drivers/net/hw/rss_ctx.py:119:0: R0915: Too many statements (57/50) (too-many-statements) tools/testing/selftests/drivers/net/hw/rss_ctx.py:228:8: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test or qstat not supported') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:281:8: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/drivers/net/hw/rss_ctx.py:293:12: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/drivers/net/hw/rss_ctx.py:314:12: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/drivers/net/hw/rss_ctx.py:210:0: R0912: Too many branches (15/12) (too-many-branches) tools/testing/selftests/drivers/net/hw/rss_ctx.py:210:0: R0915: Too many statements (70/50) (too-many-statements) tools/testing/selftests/drivers/net/hw/rss_ctx.py:397:45: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) tools/testing/selftests/drivers/net/hw/rss_ctx.py:400:45: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) tools/testing/selftests/drivers/net/hw/rss_ctx.py:407:12: W0707: Consider explicitly re-raising using 'except CmdExitFailure as exc' and 'raise KsftSkipEx('Unable to add any contexts') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:416:17: R1718: Consider using a set comprehension (consider-using-set-comprehension) tools/testing/selftests/drivers/net/hw/rss_ctx.py:444:17: R1718: Consider using a set comprehension (consider-using-set-comprehension) tools/testing/selftests/drivers/net/hw/rss_ctx.py:449:17: R1718: Consider using a set comprehension (consider-using-set-comprehension) tools/testing/selftests/drivers/net/hw/rss_ctx.py:473:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:525:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:529:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:533:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:537:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:560:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:632:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:681:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:750:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:766:8: W0707: Consider explicitly re-raising using 'except CmdExitFailure as exc' and 'raise KsftSkipEx('Ntuple filter with RSS and nonzero action not supported') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:847:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/drivers/net/hw/rss_ctx.py:920:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/drivers/net/hw/rss_ctx.py:1011:0: C0116: Missing function or method docstring (missing-function-docstring) ------------------------------------------------------------------ Your code has been rated at 9.21/10 (previous run: 9.21/10, +0.00) ====== Checking the tree with the patch ====== ************* Module gro tools/testing/selftests/drivers/net/gro.py:185:0: R0913: Too many arguments (7/5) (too-many-arguments) tools/testing/selftests/drivers/net/gro.py:185:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) tools/testing/selftests/drivers/net/gro.py:382:0: R0914: Too many local variables (20/15) (too-many-locals) ------------------------------------------------------------------ Your code has been rated at 9.87/10 (previous run: 9.86/10, +0.01) ************* Module gro_hw tools/testing/selftests/drivers/net/hw/gro_hw.py:195:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/drivers/net/hw/gro_hw.py:195:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) ------------------------------------------------------------------ Your code has been rated at 9.86/10 (previous run: 9.86/10, +0.01) ************* Module iou-zcrx tools/testing/selftests/drivers/net/hw/iou-zcrx.py:33:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:39:0: C0301: Line too long (103/100) (line-too-long) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:1:0: C0103: Module name "iou-zcrx" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:26:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:32:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:38:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:44:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:72:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:116:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:132:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:156:26: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) tools/testing/selftests/drivers/net/hw/iou-zcrx.py:172:0: C0116: Missing function or method docstring (missing-function-docstring) ------------------------------------------------------------------ Your code has been rated at 8.90/10 (previous run: 8.80/10, +0.10) ************* Module ntuple tools/testing/selftests/drivers/net/hw/ntuple.py:15:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/drivers/net/hw/ntuple.py:37:12: R1728: Consider using a generator instead 'max(x['queue-id'] for x in data)' (consider-using-generator) tools/testing/selftests/drivers/net/hw/ntuple.py:78:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/drivers/net/hw/ntuple.py:78:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) ------------------------------------------------------------------ Your code has been rated at 9.60/10 (previous run: 9.48/10, +0.12) ************* Module rss_ctx tools/testing/selftests/drivers/net/hw/rss_ctx.py:71:0: C0301: Line too long (110/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:282:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:286:0: C0301: Line too long (107/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:294:0: C0301: Line too long (110/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:315:0: C0301: Line too long (106/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:507:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:508:0: C0301: Line too long (106/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:510:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:597:0: C0301: Line too long (102/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:649:0: C0301: Line too long (101/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:763:0: C0301: Line too long (103/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:814:0: C0301: Line too long (103/100) (line-too-long) tools/testing/selftests/drivers/net/hw/rss_ctx.py:1:0: C0302: Too many lines in module (1035/1000) (too-many-lines) tools/testing/selftests/drivers/net/hw/rss_ctx.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:20:21: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/drivers/net/hw/rss_ctx.py:36:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:40:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:50:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:57:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:66:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:80:12: R1728: Consider using a generator instead 'max(x['queue-id'] for x in data)' (consider-using-generator) tools/testing/selftests/drivers/net/hw/rss_ctx.py:120:0: R0915: Too many statements (57/50) (too-many-statements) tools/testing/selftests/drivers/net/hw/rss_ctx.py:229:8: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test or qstat not supported') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:282:8: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/drivers/net/hw/rss_ctx.py:294:12: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/drivers/net/hw/rss_ctx.py:315:12: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/drivers/net/hw/rss_ctx.py:211:0: R0912: Too many branches (15/12) (too-many-branches) tools/testing/selftests/drivers/net/hw/rss_ctx.py:211:0: R0915: Too many statements (70/50) (too-many-statements) tools/testing/selftests/drivers/net/hw/rss_ctx.py:398:45: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) tools/testing/selftests/drivers/net/hw/rss_ctx.py:401:45: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) tools/testing/selftests/drivers/net/hw/rss_ctx.py:408:12: W0707: Consider explicitly re-raising using 'except CmdExitFailure as exc' and 'raise KsftSkipEx('Unable to add any contexts') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:417:17: R1718: Consider using a set comprehension (consider-using-set-comprehension) tools/testing/selftests/drivers/net/hw/rss_ctx.py:445:17: R1718: Consider using a set comprehension (consider-using-set-comprehension) tools/testing/selftests/drivers/net/hw/rss_ctx.py:450:17: R1718: Consider using a set comprehension (consider-using-set-comprehension) tools/testing/selftests/drivers/net/hw/rss_ctx.py:474:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:526:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:530:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:534:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:538:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:561:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:633:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:682:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/drivers/net/hw/rss_ctx.py:751:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise KsftSkipEx('Not enough queues for the test') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:767:8: W0707: Consider explicitly re-raising using 'except CmdExitFailure as exc' and 'raise KsftSkipEx('Ntuple filter with RSS and nonzero action not supported') from exc' (raise-missing-from) tools/testing/selftests/drivers/net/hw/rss_ctx.py:848:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/drivers/net/hw/rss_ctx.py:921:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/drivers/net/hw/rss_ctx.py:1012:0: C0116: Missing function or method docstring (missing-function-docstring) ------------------------------------------------------------------ Your code has been rated at 9.23/10 (previous run: 9.21/10, +0.02)