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.GzYJHjmHF9 and /tmp/tmp.7kZq4OWpyY Tree base: 3b5b1c428260 ("eth: gianfar: migrate to new RXFH callbacks") Now at: 66fb6d557f46 ("docs: conf.py: properly handle include and exclude patterns") ====== Checking before the patch ====== ************* Module conf Documentation/conf.py:291:0: W0311: Bad indentation. Found 16 spaces, expected 12 (bad-indentation) Documentation/conf.py:501:1: W0511: FIXME: Do not add the index file here; the result will be too big. Adding (fixme) Documentation/conf.py:1:0: C0114: Missing module docstring (missing-module-docstring) Documentation/conf.py:159:0: W0622: Redefining built-in 'copyright' (redefined-builtin) Documentation/conf.py:35:0: E0401: Unable to import 'load_config' (import-error) Documentation/conf.py:35:0: C0413: Import "from load_config import loadConfig" should be placed at the top of the module (wrong-import-position) Documentation/conf.py:40:0: C0103: Constant name "needs_sphinx" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:117:0: C0103: Constant name "autosectionlabel_prefix_document" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:118:0: C0103: Constant name "autosectionlabel_maxdepth" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:131:8: C0103: Constant name "load_imgmath" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:133:8: C0103: Constant name "load_imgmath" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:135:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Documentation/conf.py:139:4: C0103: Constant name "math_renderer" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:141:4: C0103: Constant name "math_renderer" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:149:0: C0103: Constant name "source_suffix" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:155:0: C0103: Constant name "master_doc" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:158:0: C0103: Constant name "project" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:159:0: C0103: Constant name "copyright" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:160:0: C0103: Constant name "author" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:183:0: W0702: No exception type(s) specified (bare-except) Documentation/conf.py:173:4: C0103: Constant name "makefile_version" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:174:4: C0103: Constant name "makefile_patchlevel" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:175:16: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) Documentation/conf.py:175:16: W1514: Using open without explicitly specifying an encoding (unspecified-encoding) Documentation/conf.py:189:8: C0103: Constant name "version" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:189:18: C0103: Constant name "release" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:196:0: C0116: Missing function or method docstring (missing-function-docstring) Documentation/conf.py:214:0: C0103: Constant name "language" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:242:0: C0103: Constant name "pygments_style" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:251:0: C0103: Constant name "todo_include_todos" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:253:0: C0103: Constant name "primary_domain" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:254:0: C0103: Constant name "highlight_language" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:262:0: C0103: Constant name "html_theme" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:268:3: R1714: Consider merging these comparisons with 'in' by using 'html_theme in ('sphinx_rtd_theme', 'sphinx_rtd_dark_mode')'. Use a set instead if elements are hashable. (consider-using-in) Documentation/conf.py:287:16: W0104: Statement seems to have no effect (pointless-statement) Documentation/conf.py:298:8: C0103: Constant name "html_theme" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:316:17: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Documentation/conf.py:326:0: C0103: Constant name "smartquotes_action" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:338:0: C0103: Constant name "html_logo" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:341:0: C0103: Constant name "htmlhelp_basename" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:421:8: C0103: Constant name "has" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:424:16: C0103: Constant name "has" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:428:36: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Documentation/conf.py:485:0: C0103: Constant name "epub_title" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:486:0: C0103: Constant name "epub_author" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:487:0: C0103: Constant name "epub_publisher" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:488:0: C0103: Constant name "epub_copyright" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:505:29: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) Documentation/conf.py:505:40: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) Documentation/conf.py:505:51: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) Documentation/conf.py:511:0: C0103: Constant name "kerneldoc_bin" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:512:0: C0103: Constant name "kerneldoc_srctree" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:18:0: C0411: standard import "shutil" should be placed before third party import "sphinx" (wrong-import-order) Documentation/conf.py:17:0: W0611: Unused import sphinx (unused-import) Documentation/conf.py:284:16: W0611: Unused import sphinx_rtd_dark_mode (unused-import) ------------------------------------------------------------------ Your code has been rated at 5.32/10 (previous run: 5.86/10, -0.54) ====== Checking the tree with the patch ====== ************* Module conf Documentation/conf.py:335:0: W0311: Bad indentation. Found 16 spaces, expected 12 (bad-indentation) Documentation/conf.py:545:1: W0511: FIXME: Do not add the index file here; the result will be too big. Adding (fixme) Documentation/conf.py:1:0: C0114: Missing module docstring (missing-module-docstring) Documentation/conf.py:207:0: W0622: Redefining built-in 'copyright' (redefined-builtin) Documentation/conf.py:45:4: W0612: Unused variable 'sourcedir' (unused-variable) Documentation/conf.py:46:4: W0612: Unused variable 'builddir' (unused-variable) Documentation/conf.py:83:0: E0401: Unable to import 'load_config' (import-error) Documentation/conf.py:83:0: C0413: Import "from load_config import loadConfig" should be placed at the top of the module (wrong-import-position) Documentation/conf.py:88:0: C0103: Constant name "needs_sphinx" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:165:0: C0103: Constant name "autosectionlabel_prefix_document" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:166:0: C0103: Constant name "autosectionlabel_maxdepth" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:179:8: C0103: Constant name "load_imgmath" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:181:8: C0103: Constant name "load_imgmath" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:183:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Documentation/conf.py:187:4: C0103: Constant name "math_renderer" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:189:4: C0103: Constant name "math_renderer" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:197:0: C0103: Constant name "source_suffix" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:203:0: C0103: Constant name "master_doc" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:206:0: C0103: Constant name "project" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:207:0: C0103: Constant name "copyright" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:208:0: C0103: Constant name "author" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:231:0: W0702: No exception type(s) specified (bare-except) Documentation/conf.py:221:4: C0103: Constant name "makefile_version" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:222:4: C0103: Constant name "makefile_patchlevel" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:223:16: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) Documentation/conf.py:223:16: W1514: Using open without explicitly specifying an encoding (unspecified-encoding) Documentation/conf.py:237:8: C0103: Constant name "version" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:237:18: C0103: Constant name "release" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:244:0: C0116: Missing function or method docstring (missing-function-docstring) Documentation/conf.py:262:0: C0103: Constant name "language" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:286:0: C0103: Constant name "pygments_style" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:295:0: C0103: Constant name "todo_include_todos" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:297:0: C0103: Constant name "primary_domain" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:298:0: C0103: Constant name "highlight_language" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:306:0: C0103: Constant name "html_theme" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:312:3: R1714: Consider merging these comparisons with 'in' by using 'html_theme in ('sphinx_rtd_theme', 'sphinx_rtd_dark_mode')'. Use a set instead if elements are hashable. (consider-using-in) Documentation/conf.py:331:16: W0104: Statement seems to have no effect (pointless-statement) Documentation/conf.py:342:8: C0103: Constant name "html_theme" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:360:17: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Documentation/conf.py:370:0: C0103: Constant name "smartquotes_action" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:382:0: C0103: Constant name "html_logo" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:385:0: C0103: Constant name "htmlhelp_basename" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:465:8: C0103: Constant name "has" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:468:16: C0103: Constant name "has" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:472:36: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Documentation/conf.py:529:0: C0103: Constant name "epub_title" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:530:0: C0103: Constant name "epub_author" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:531:0: C0103: Constant name "epub_publisher" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:532:0: C0103: Constant name "epub_copyright" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:549:29: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) Documentation/conf.py:549:40: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) Documentation/conf.py:549:51: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) Documentation/conf.py:555:0: C0103: Constant name "kerneldoc_bin" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:556:0: C0103: Constant name "kerneldoc_srctree" doesn't conform to UPPER_CASE naming style (invalid-name) Documentation/conf.py:18:0: C0411: standard import "shutil" should be placed before third party import "sphinx" (wrong-import-order) Documentation/conf.py:17:0: W0611: Unused import sphinx (unused-import) Documentation/conf.py:328:16: W0611: Unused import sphinx_rtd_dark_mode (unused-import) ------------------------------------------------------------------ Your code has been rated at 5.79/10 (previous run: 5.32/10, +0.48)