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.5kxZbyAUwq and /tmp/tmp.SuSDnm3ZPM Tree base: 0bcac7b11262 ("selftests: net: make ovs-dpctl.py fail when pyroute2 is unsupported") Now at: 0131300bb4a4 ("selftests: rds: Fix pylint warnings") ====== 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:21:0: E0401: Unable to import 'lib.py.utils' (import-error) tools/testing/selftests/net/rds/test.py:21: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:26:0: C0103: Constant name "net0" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:27:0: C0103: Constant name "net1" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:29:0: C0103: Constant name "veth0" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:30:0: C0103: Constant name "veth1" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:36:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/rds/test.py:36:0: W0621: Redefining name 'args' from outer scope (line 82) (redefined-outer-name) tools/testing/selftests/net/rds/test.py:50:8: W0621: Redefining name 's' from outer scope (line 145) (redefined-outer-name) tools/testing/selftests/net/rds/test.py:42:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding) tools/testing/selftests/net/rds/test.py:44:16: W0612: Unused variable 'ret' (unused-variable) tools/testing/selftests/net/rds/test.py:64:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/rds/test.py:64:19: W0613: Unused argument 'sig' (unused-argument) tools/testing/selftests/net/rds/test.py:64:24: W0613: Unused argument 'frame' (unused-argument) tools/testing/selftests/net/rds/test.py:84:0: C0103: Constant name "packet_loss" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:85:0: C0103: Constant name "packet_corruption" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:86:0: C0103: Constant name "packet_duplicate" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:90:3: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) tools/testing/selftests/net/rds/test.py:153:17: R1721: Unnecessary use of a comprehension, use dict(zip(addrs, sockets)) instead. (unnecessary-comprehension) tools/testing/selftests/net/rds/test.py:169:0: C0103: Constant name "n" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:170:0: C0103: Constant name "nr_send" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:171:0: C0103: Constant name "nr_recv" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:177:8: C0103: Constant name "send_data" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:188:12: C0103: Constant name "nr_send" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:210:24: C0103: Constant name "nr_recv" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:225:0: C0103: Constant name "nr_success" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:226:0: C0103: Constant name "nr_error" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:235:12: C0103: Constant name "nr_success" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:237:12: C0103: Constant name "nr_error" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:14:0: W0611: Unused import atexit (unused-import) ------------------------------------------------------------------ Your code has been rated at 7.74/10 (previous run: 7.04/10, +0.70) ====== 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:176:0: C0103: Constant name "nr_send" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:177:0: C0103: Constant name "nr_recv" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:183:8: C0103: Constant name "send_data" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:194:12: C0103: Constant name "nr_send" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:216:24: C0103: Constant name "nr_recv" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:231:0: C0103: Constant name "nr_success" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:232:0: C0103: Constant name "nr_error" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:241:12: C0103: Constant name "nr_success" doesn't conform to UPPER_CASE naming style (invalid-name) tools/testing/selftests/net/rds/test.py:243:12: C0103: Constant name "nr_error" doesn't conform to UPPER_CASE naming style (invalid-name) ------------------------------------------------------------------ Your code has been rated at 8.96/10 (previous run: 7.74/10, +1.22)