pylint 3.3.7 astroid 3.3.8 Python 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 15.0.1 20250418 (Red Hat 15.0.1-0)] Redirect to /tmp/tmp.7aXZqCUxYF and /tmp/tmp.YJQyDohTrk Tree base: c02e097e5673 ("eth: bnxt: support RSS on IPv6 Flow Label") Now at: fdd865cb0246 ("selftests: drv-net: import things in lib one by one") ====== Checking before the patch ====== ************* Module py tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:13:4: E0602: Undefined variable 'ksft_pr' (undefined-variable) tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:14:4: E0602: Undefined variable 'ksft_pr' (undefined-variable) tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:15:4: E0602: Undefined variable 'ktap_result' (undefined-variable) ----------------------------------- Your code has been rated at 0.00/10 ************* Module py tools/testing/selftests/drivers/net/lib/py/__init__.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/lib/py/__init__.py:12:4: E0601: Using variable 'ksft_pr' before assignment (used-before-assignment) tools/testing/selftests/drivers/net/lib/py/__init__.py:14:4: E0602: Undefined variable 'ktap_result' (undefined-variable) tools/testing/selftests/drivers/net/lib/py/__init__.py:17:0: C0413: Import "from .env import *" should be placed at the top of the module (wrong-import-position) tools/testing/selftests/drivers/net/lib/py/__init__.py:18:0: C0413: Import "from .load import *" should be placed at the top of the module (wrong-import-position) tools/testing/selftests/drivers/net/lib/py/__init__.py:19:0: C0413: Import "from .remote import Remote" should be placed at the top of the module (wrong-import-position) ------------------------------------------------------------------ Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00) ====== Checking the tree with the patch ====== ************* Module py tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:30:4: E0601: Using variable 'ksft_pr' before assignment (used-before-assignment) tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:32:4: E0602: Undefined variable 'ktap_result' (undefined-variable) tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:15:4: C0412: Imports from package net are not grouped (ungrouped-imports) tools/testing/selftests/drivers/net/hw/lib/py/__init__.py:27:4: C0412: Imports from package drivers are not grouped (ungrouped-imports) ------------------------------------------------------------------ Your code has been rated at 4.09/10 (previous run: 0.00/10, +4.09) ************* Module py tools/testing/selftests/drivers/net/lib/py/__init__.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/drivers/net/lib/py/__init__.py:26:4: E0601: Using variable 'ksft_pr' before assignment (used-before-assignment) tools/testing/selftests/drivers/net/lib/py/__init__.py:28:4: E0602: Undefined variable 'ktap_result' (undefined-variable) tools/testing/selftests/drivers/net/lib/py/__init__.py:31:0: C0413: Import "from .env import *" should be placed at the top of the module (wrong-import-position) tools/testing/selftests/drivers/net/lib/py/__init__.py:32:0: C0413: Import "from .load import *" should be placed at the top of the module (wrong-import-position) tools/testing/selftests/drivers/net/lib/py/__init__.py:33:0: C0413: Import "from .remote import Remote" should be placed at the top of the module (wrong-import-position) ------------------------------------------------------------------ Your code has been rated at 3.33/10 (previous run: 4.09/10, -0.76)