====== Checking before the patch ====== ====== Checking the tree with the patch ====== New warnings added --- /tmp/tmp.m61mjnYcMn 2026-01-19 13:59:11.854976877 -0500 +++ /tmp/tmp.oHsoVv4IeB 2026-01-19 13:59:12.779972460 -0500 @@ -0,0 +1,8 @@ +************* 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 + @@ -3,14 +11,18 @@ -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) +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) @@ -19 +31 @@ -Your code has been rated at 6.72/10 (previous run: 6.72/10, +0.00) +Your code has been rated at 6.76/10 (previous run: 6.72/10, +0.04)