pylint 4.0.5 astroid 4.0.4 Python 3.14.4 (main, Apr 8 2026, 00:00:00) [GCC 16.0.1 20260321 (Red Hat 16.0.1-0)] Redirect to /tmp/tmp.CMlbTqgjQs and /tmp/tmp.3iSZhZP5KF Tree base: 790ead939486 ("Documentation: net/smc: correct old value of smcr_max_recv_wr") Now at: ed4f948665a7 ("selftests: drv-net: rss: add case for field config on RSS context") ====== Checking before the patch ====== ************* 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: 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:832:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/drivers/net/hw/rss_ctx.py:923:0: C0116: Missing function or method docstring (missing-function-docstring) ------------------------------------------------------------------ Your code has been rated at 9.16/10 (previous run: 9.18/10, -0.02) ====== Checking the tree with the patch ====== ************* 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.16/10, +0.05)