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.ZpGicrRxlr and /tmp/tmp.XnHLWps3Uh Tree base: ffe6e7afe002 ("selftests: rds: Fix gcov and pcap collection") Now at: f265acf18e6c ("selftests: rds: Collect pcaps on timeout") ====== Checking before the patch ====== ************* Module test tools/testing/selftests/net/rds/test.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/net/rds/test.py:20:0: E0401: Unable to import 'lib.py.utils' (import-error) tools/testing/selftests/net/rds/test.py:20:0: C0413: Import "from lib.py.utils import ip" should be placed at the top of the module (wrong-import-position) tools/testing/selftests/net/rds/test.py:132:8: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) ------------------------------------------------------------------ Your code has been rated at 9.49/10 (previous run: 9.49/10, +0.00) ====== Checking the tree with the patch ====== ************* Module test tools/testing/selftests/net/rds/test.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/net/rds/test.py:20:0: E0401: Unable to import 'lib.py.utils' (import-error) tools/testing/selftests/net/rds/test.py:20:0: C0413: Import "from lib.py.utils import ip" should be placed at the top of the module (wrong-import-position) tools/testing/selftests/net/rds/test.py:69:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/rds/test.py:71:8: W0621: Redefining name 'p' from outer scope (line 141) (redefined-outer-name) tools/testing/selftests/net/rds/test.py:71:11: W0621: Redefining name 'pcap_tmp' from outer scope (line 140) (redefined-outer-name) tools/testing/selftests/net/rds/test.py:71:21: W0621: Redefining name 'pcap' from outer scope (line 139) (redefined-outer-name) tools/testing/selftests/net/rds/test.py:71:27: W0621: Redefining name 'fd' from outer scope (line 140) (redefined-outer-name) tools/testing/selftests/net/rds/test.py:141:8: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) ------------------------------------------------------------------ Your code has been rated at 9.18/10 (previous run: 9.49/10, -0.30)