pylint 3.3.9 astroid 3.3.8 Python 3.14.2 (main, Dec 5 2025, 00:00:00) [GCC 15.2.1 20251111 (Red Hat 15.2.1-4)] Redirect to /tmp/tmp.m61mjnYcMn and /tmp/tmp.oHsoVv4IeB Tree base: 213276541567 ("selftests: rds: Refactor test.py") Now at: 9b2fe4fe2c40 ("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:50:3: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) 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.72/10 (previous run: 6.72/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 ************* 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:34:8: W0621: Redefining name 'ip' from outer scope (line 17) (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:69:3: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) 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 6.76/10 (previous run: 6.72/10, +0.04)