pylint 3.3.9 astroid 3.3.8 Python 3.14.3 (main, Feb 4 2026, 00:00:00) [GCC 15.2.1 20260123 (Red Hat 15.2.1-7)] Redirect to /tmp/tmp.lK09wwDlia and /tmp/tmp.ogJYgU71vE Tree base: 1e08faf996c3 ("Merge branch 'net-ethernet-litex-minor-improvment-for-the-codebase'") Now at: 3004485148e9 ("selftests: tc-testing: fix list_categories() crash on list type") ====== Checking before the patch ====== ************* Module tdc_helper tools/testing/selftests/tc-testing/tdc_helper.py:15:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/tc-testing/tdc_helper.py:51:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens) tools/testing/selftests/tc-testing/tdc_helper.py:65:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens) tools/testing/selftests/tc-testing/tdc_helper.py:10:16: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) tools/testing/selftests/tc-testing/tdc_helper.py:13:52: W0640: Cell variable category defined in loop (cell-var-from-loop) tools/testing/selftests/tc-testing/tdc_helper.py:20:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) tools/testing/selftests/tc-testing/tdc_helper.py:51:12: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck) tools/testing/selftests/tc-testing/tdc_helper.py:57:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/tc-testing/tdc_helper.py:63:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/tc-testing/tdc_helper.py:69:20: R1714: Consider merging these comparisons with 'in' by using 'k in ('id', 'name')'. Use a set instead if elements are hashable. (consider-using-in) ----------------------------------- Your code has been rated at 7.37/10 ====== Checking the tree with the patch ====== ************* Module tdc_helper tools/testing/selftests/tc-testing/tdc_helper.py:15:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/tc-testing/tdc_helper.py:55:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens) tools/testing/selftests/tc-testing/tdc_helper.py:69:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens) tools/testing/selftests/tc-testing/tdc_helper.py:10:16: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) tools/testing/selftests/tc-testing/tdc_helper.py:13:52: W0640: Cell variable category defined in loop (cell-var-from-loop) tools/testing/selftests/tc-testing/tdc_helper.py:20:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) tools/testing/selftests/tc-testing/tdc_helper.py:55:12: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck) tools/testing/selftests/tc-testing/tdc_helper.py:61:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/tc-testing/tdc_helper.py:67:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/tc-testing/tdc_helper.py:73:20: R1714: Consider merging these comparisons with 'in' by using 'k in ('id', 'name')'. Use a set instead if elements are hashable. (consider-using-in) ------------------------------------------------------------------ Your code has been rated at 7.56/10 (previous run: 7.37/10, +0.19)