========== pylint - FAILED ====== Checking before the patch ====== ====== Checking the tree with the patch ====== New errors added --- /tmp/tmp.BXruDKzZ1v 2025-06-14 03:22:59.858623677 -0700 +++ /tmp/tmp.h01yvw8UXg 2025-06-14 03:23:04.028596531 -0700 @@ -0,0 +1,6 @@ +************* Module netlink_yml_parser +scripts/lib/netlink_yml_parser.py:109:4: R1715: Consider using dict.get for getting values from a dict if a key is present or a default if not (consider-using-get) + +------------------------------------------------------------------ +Your code has been rated at 9.95/10 (previous run: 9.95/10, -0.00) + @@ -2,3 +8,3 @@ -tools/net/ynl/pyynl/ynl_gen_rst.py:111:4: R1715: Consider using dict.get for getting values from a dict if a key is present or a default if not (consider-using-get) -tools/net/ynl/pyynl/ynl_gen_rst.py:409:4: W0622: Redefining built-in 'dir' (redefined-builtin) -tools/net/ynl/pyynl/ynl_gen_rst.py:451:15: W0718: Catching too general exception Exception (broad-exception-caught) +tools/net/ynl/pyynl/ynl_gen_rst.py:31:0: E0401: Unable to import 'netlink_yml_parser' (import-error) +tools/net/ynl/pyynl/ynl_gen_rst.py:31:0: C0413: Import "from netlink_yml_parser import parse_yaml_file, generate_main_index_rst" should be placed at the top of the module (wrong-import-position) +tools/net/ynl/pyynl/ynl_gen_rst.py:97:15: W0718: Catching too general exception Exception (broad-exception-caught) @@ -7 +13 @@ -Your code has been rated at 9.88/10 (previous run: 9.88/10, +0.00) +Your code has been rated at 8.68/10 (previous run: 9.88/10, -1.20)