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.GPqw8qwVDh and /tmp/tmp.eJMVcUWVkN Tree base: d018a2e74b90 ("docs: netlink: don't ignore generated rst files") Now at: b03c58c39481 ("tools: ynl_gen_rst.py: make the index parser more generic") ====== Checking before the patch ====== ************* Module pyynl.ynl_gen_rst 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:441:15: W0718: Catching too general exception Exception (broad-exception-caught) ------------------------------------------------------------------ Your code has been rated at 9.92/10 (previous run: 9.92/10, +0.00) ====== Checking the tree with the patch ====== ************* Module pyynl.ynl_gen_rst 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) ------------------------------------------------------------------ Your code has been rated at 9.88/10 (previous run: 9.92/10, -0.04)