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.ulnnfTxrCQ and /tmp/tmp.JBGUN8QQWE Tree base: 0ac14db2e016 ("docs: netlink: don't ignore generated rst files") Now at: c6bac1108b3d ("docs: netlink: store generated .rst files at Documentation/output") ====== 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:448: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)