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.HGoHiB0vA7 and /tmp/tmp.OlMM1K0sF5 Tree base: 0f9ff409e611 ("selftests: rds: Refactor test.py") Now at: 9bf338793912 ("selftests: rds: Add rds_stress.py") ====== 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:16:0: E0401: Unable to import 'lib.py.utils' (import-error) tools/testing/selftests/net/rds/test.py:16: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:18:0: C0103: Constant name "net0" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:19:0: C0103: Constant name "net1" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:21:0: C0103: Constant name "veth0" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:22:0: C0103: Constant name "veth1" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:24:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/rds/test.py:24:19: W0613: Unused argument 'sig' (unused-argument) tools/testing/selftests/net/rds/test.py:24:24: W0613: Unused argument 'frame' (unused-argument) tools/testing/selftests/net/rds/test.py:44:0: C0103: Constant name "packet_loss" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:45:0: C0103: Constant name "packet_corruption" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:46:0: C0103: Constant name "packet_duplicate" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:105:0: C0103: Constant name "ret" doesn't conform to UPPER_CASE naming style (invalid-name) ------------------------------------------------------------------ Your code has been rated at 6.90/10 (previous run: 6.90/10, +0.00) ====== Checking the tree with the patch ====== ************* Module rds_stress tools/testing/selftests/net/rds/rds_stress.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/net/rds/rds_stress.py:27:9: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) tools/testing/selftests/net/rds/rds_stress.py:40:9: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) ------------------------------------------------------------------ Your code has been rated at 8.64/10 (previous run: 8.64/10, +0.00) ************* 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:17:0: E0401: Unable to import 'lib.py.utils' (import-error) tools/testing/selftests/net/rds/test.py:17: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:19:0: C0103: Constant name "net0" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:20:0: C0103: Constant name "net1" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:22:0: C0103: Constant name "veth0" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:23:0: C0103: Constant name "veth1" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:25:20: W0621: Redefining name 'addrs' from outer scope (line 71) (redefined-outer-name) tools/testing/selftests/net/rds/test.py:39:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/rds/test.py:39:19: W0613: Unused argument 'sig' (unused-argument) tools/testing/selftests/net/rds/test.py:39:24: W0613: Unused argument 'frame' (unused-argument) tools/testing/selftests/net/rds/test.py:63:0: C0103: Constant name "packet_loss" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:64:0: C0103: Constant name "packet_corruption" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:65:0: C0103: Constant name "packet_duplicate" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:124:0: C0103: Constant name "ret" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:126:4: C0103: Constant name "ret" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:130:4: C0103: Constant name "ret" doesn't conform to UPPER_CASE naming style (invalid-name) ------------------------------------------------------------------ Your code has been rated at 7.04/10 (previous run: 6.90/10, +0.15)