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.LkWeam6ehh and /tmp/tmp.oVDVoLTydx Tree base: 2f3cbadc826e ("scripts: netlink_yml_parser.py: improve index.rst generation") Now at: 8cfbe30bf19c ("docs: sphinx: add a parser template for yaml files") ====== Checking before the patch ====== ====== Checking the tree with the patch ====== ************* Module parser_yaml Documentation/sphinx/parser_yaml.py:31:13: W0511: FIXME: Test logic to generate some ReST content (fixme) Documentation/sphinx/parser_yaml.py:7:0: E0401: Unable to import 'docutils.parsers.rst' (import-error) Documentation/sphinx/parser_yaml.py:8:0: E0401: Unable to import 'docutils.statemachine' (import-error) Documentation/sphinx/parser_yaml.py:10:0: E0401: Unable to import 'sphinx.util' (import-error) Documentation/sphinx/parser_yaml.py:11:0: E0401: Unable to import 'sphinx.parsers' (import-error) Documentation/sphinx/parser_yaml.py:46:15: W0718: Catching too general exception Exception (broad-exception-caught) Documentation/sphinx/parser_yaml.py:47:36: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Documentation/sphinx/parser_yaml.py:17:0: R0903: Too few public methods (1/2) (too-few-public-methods) Documentation/sphinx/parser_yaml.py:13:0: C0411: standard import "pprint.pformat" should be placed before third party imports "docutils.parsers.rst.Parser", "docutils.statemachine.ViewList", "sphinx.util.logging", "sphinx.parsers.Parser" (wrong-import-order) ------------------------------------------------------------------ Your code has been rated at 1.67/10 (previous run: 4.21/10, -2.54)