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.e98qpkmO8a and /tmp/tmp.GhND7Z4w0a Tree base: 4144452f3163 ("docs: sphinx: add a parser template for yaml files") Now at: 64a2e98e0d46 ("docs: sphinx: parser_yaml.py: add Netlink specs parser") ====== Checking before 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: 1.67/10, +0.00) ====== Checking the tree with the patch ====== ************* Module parser_yaml Documentation/sphinx/parser_yaml.py:11:0: E0401: Unable to import 'docutils.parsers.rst' (import-error) Documentation/sphinx/parser_yaml.py:12:0: E0401: Unable to import 'docutils.statemachine' (import-error) Documentation/sphinx/parser_yaml.py:14:0: E0401: Unable to import 'sphinx.util' (import-error) Documentation/sphinx/parser_yaml.py:15: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) ------------------------------------------------------------------ Your code has been rated at 4.21/10 (previous run: 1.67/10, +2.54)