AI Slop Code RIsk Monitor

sphinx-doc/sphinx

The Sphinx documentation generator

14.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for sphinx-doc/sphinx, a Python project with 8,058 GitHub stars. SynthScan examined 199,435 lines of code across 1115 source files, recording 2451 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 14.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

14.5
Adjusted Signal
14.5
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
8.1K
Stars
Python
Language
199.4K
Lines of Code
1.1K
Files
2.5K
Pattern Hits
2026-10-12
Scan Date
0.12
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 28.6/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 1409 finding(s).

Hallucinated Dependency & Supply Chain Risk 16.8/100 · LOW

Are imports declared and package/API names verified? 715 finding(s).

Agent Over-Engineering Ratio 36.5/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 1400 finding(s).

PR Review Velocity Impact 55.2/100 · HIGH

Which changes need focused human review? 2451 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 3HIGH 126MEDIUM 46LOW 2276

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2451 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1066 hits · 991 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py93def make_app_with_empty_project(CODE
LOWtests/test_addnodes.py23def test_desc_sig_element_nodes(CODE
LOWtests/test_quickstart.py75def test_do_prompt_inputstrip() -> None:CODE
LOWtests/test_quickstart.py90def test_do_prompt_with_nonascii() -> None:CODE
LOWtests/test_quickstart.py130def test_quickstart_all_answers(tmp_path: Path) -> None:CODE
LOWtests/test_quickstart.py208def test_quickstart_and_build(tmp_path: Path) -> None:CODE
LOWtests/test_quickstart.py264def test_exits_when_existing_confpy(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/test_search.py109def test_meta_keys_are_handled_for_language_en(app: SphinxTestApp) -> None:STRING
LOWtests/test_search.py127def test_meta_keys_are_handled_for_language_de(app: SphinxTestApp) -> None:STRING
LOWtests/test_search.py140def test_stemmer_does_not_remove_short_words(app: SphinxTestApp) -> None:STRING
LOWtests/test_search.py156def test_term_in_heading_and_section(app: SphinxTestApp) -> None:STRING
LOWtests/test_search.py176def test_term_in_raw_directive(app: SphinxTestApp) -> None:STRING
LOWtests/test_search.py413def test_js_stemmer_class_name(js_stemmer_rawcode: str, stemmer_class: str) -> None:STRING
LOWtests/test_search.py455def test_search_index_is_deterministic(app: SphinxTestApp) -> None:STRING
LOWtests/test_search.py500def test_check_js_search_indexes(make_app, sphinx_test_tempdir, directory):STRING
LOWtests/test_errors.py6def test_extension_error_repr() -> None:CODE
LOWtests/test_errors.py11def test_extension_error_with_orig_exc_repr() -> None:CODE
LOW⚡tests/test_command_line.py99def test_build_main_parse_arguments_pos_first() -> None:CODE
LOW⚡tests/test_command_line.py108def test_build_main_parse_arguments_pos_last() -> None:CODE
LOW⚡tests/test_command_line.py117def test_build_main_parse_arguments_pos_middle() -> None:CODE
LOWtests/test_command_line.py132def test_build_main_parse_arguments_filenames_last() -> None:CODE
LOWtests/test_command_line.py141def test_build_main_parse_arguments_pos_intermixed(CODE
LOWtests/test_command_line.py160def test_make_mode_parse_arguments_pos_first(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/test_command_line.py170def test_make_mode_parse_arguments_pos_last(CODE
LOWtests/test_command_line.py186def test_make_mode_parse_arguments_pos_middle(CODE
LOWtests/test_command_line.py207def test_make_mode_parse_arguments_filenames_last(CODE
LOWtests/test_command_line.py221def test_make_mode_parse_arguments_pos_intermixed(CODE
LOWtests/test_application.py80def test_emit_with_nonascii_name_node(app: SphinxTestApp) -> None:CODE
LOWtests/test_application.py93def test_extension_in_blacklist(app: SphinxTestApp) -> None:CODE
LOWtests/test_application.py114def test_add_is_parallel_allowed(app: SphinxTestApp) -> None:CODE
LOWtests/test_events.py35def test_event_allowed_exceptions() -> None:CODE
LOW⚡tests/test_project.py35def test_project_discover_basic(rootdir: Path) -> None:CODE
LOW⚡tests/test_project.py41def test_project_discover_exclude_patterns(rootdir: Path) -> None:CODE
LOW⚡tests/test_project.py49def test_project_discover_multiple_suffixes(rootdir: Path) -> None:CODE
LOW⚡tests/test_project.py55def test_project_discover_complicated_suffix(rootdir: Path) -> None:CODE
LOW⚡tests/test_project.py61def test_project_discover_templates_path(rootdir: Path) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py36def test_html_with_set_translator_for_html_(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py44def test_singlehtml_set_translator_for_singlehtml(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py51def test_pickle_set_translator_for_pickle(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py58def test_json_set_translator_for_json(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py65def test_html_with_set_translator_for_latex(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py72def test_html_with_set_translator_for_man(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py79def test_html_with_set_translator_for_texinfo(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py86def test_html_with_set_translator_for_text(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py93def test_html_with_set_translator_for_xml(app: SphinxTestApp) -> None:CODE
LOW⚡tests/test_writers/test_api_translator.py100def test_html_with_set_translator_for_pseudoxml(app: SphinxTestApp) -> None:CODE
LOWtests/test_writers/test_writer_text.py18def test_text_wrapper_break_phantom_symbol(glyph: str) -> None:CODE
LOWtests/test_writers/test_writer_text.py48def test_text_wrapper_break_visible_symbol(text: str, colwidth: int) -> None:CODE
LOWtests/test_writers/test_writer_text.py60def test_text_wrapper_break_stop_after_combining_symbols() -> None:CODE
LOWtests/test_writers/test_writer_text.py180def test_text_wrapper_drop_ws(text: str, results: dict[int, list[str]]) -> None:CODE
LOWtests/test_writers/test_docutilsconf.py22def test_html_with_default_docutilsconf(app: Sphinx) -> None:CODE
LOWtests/test_writers/test_docutilsconf.py41def test_html_with_docutilsconf(app: Sphinx) -> None:CODE
LOWtests/roots/test-util-copyasset_overwrite/myext.py6def _copy_asset_overwrite_hook(app):CODE
LOWtests/test_domains/test_domain_py_pyfunction.py109def test_pyfunction_signature(app):CODE
LOWtests/test_domains/test_domain_py_pyfunction.py156def test_pyfunction_signature_full(app):CODE
LOWtests/test_domains/test_domain_py_pyfunction.py324def test_pyfunction_with_unary_operators(app):CODE
LOWtests/test_domains/test_domain_py_pyfunction.py370def test_pyfunction_with_binary_operators(app):CODE
LOWtests/test_domains/test_domain_py_pyfunction.py390def test_pyfunction_with_number_literals(app):CODE
LOWtests/test_domains/test_domain_py_pyfunction.py420def test_pyfunction_with_union_type_operator(app):CODE
LOWtests/test_domains/test_domain_py_pyfunction.py450def test_optional_pyfunction_signature(app):CODE
1006 more matches not shown…
Unused Imports688 hits · 620 pts
SeverityFileLineSnippetContext
LOWtests/test_highlighting.py3CODE
LOWtests/conftest.py1CODE
LOWtests/test_addnodes.py3CODE
LOWtests/test_quickstart.py3CODE
LOWtests/test_search.py3CODE
LOWtests/test_errors.py1CODE
LOWtests/test_versioning.py3CODE
LOWtests/test_command_line.py1CODE
LOWtests/utils.py1CODE
LOWtests/test_roles.py3CODE
LOWtests/test_application.py3CODE
LOWtests/test_events.py3CODE
LOWtests/test_project.py3CODE
LOWtests/test_writers/test_writer_latex.py3CODE
LOWtests/test_writers/test_api_translator.py3CODE
LOWtests/test_writers/test_writer_text.py3CODE
LOWtests/test_writers/test_docutilsconf.py3CODE
LOW…imported_members/autosummary_dummy_package/__init__.py1CODE
LOW…imported_members/autosummary_dummy_package/__init__.py1CODE
LOW…s/roots/test-ext-autosummary-import_cycle/spam/eggs.py3CODE
LOW…y-module_all/autosummary_dummy_package_all/__init__.py1CODE
LOW…y-module_all/autosummary_dummy_package_all/__init__.py1CODE
LOW…y-module_all/autosummary_dummy_package_all/__init__.py1CODE
LOW…y-module_all/autosummary_dummy_package_all/__init__.py1CODE
LOWtests/roots/test-ext-autodoc/autodoc_dummy_module.py1CODE
LOW…sts/roots/test-ext-autodoc/circular_import/__init__.py1CODE
LOWtests/roots/test-ext-autodoc/circular_import/b.py4CODE
LOWtests/roots/test-ext-autodoc/target/generic_class.py1CODE
LOWtests/roots/test-ext-autodoc/target/final.py1CODE
LOWtests/roots/test-ext-autodoc/target/literal.py1CODE
LOWtests/roots/test-ext-autodoc/target/genericalias.py1CODE
LOWtests/roots/test-ext-autodoc/target/pep604.py1CODE
LOWtests/roots/test-ext-autodoc/target/imported_members.py1CODE
LOWtests/roots/test-ext-autodoc/target/imported_members.py1CODE
LOW…sts/roots/test-ext-autodoc/target/preserve_defaults.py1CODE
LOW…/roots/test-ext-autodoc/target/autodoc_type_aliases.py1CODE
LOWtests/roots/test-ext-autodoc/target/TYPE_CHECKING.py2CODE
LOWtests/roots/test-ext-autodoc/target/wrappedfunction.py1CODE
LOWtests/roots/test-ext-autodoc/target/__init__.py1CODE
LOWtests/roots/test-ext-autodoc/target/__init__.py4CODE
LOWtests/roots/test-ext-autodoc/target/need_mocks.py2CODE
LOW…autodoc/target/preserve_defaults_special_constructs.py1CODE
LOW…/roots/test-ext-autodoc/target/_functions_to_import.py4CODE
LOWtests/roots/test-ext-autodoc/target/typevar.py1CODE
LOWtests/roots/test-ext-autodoc/target/pep695.py1CODE
LOWtests/roots/test-ext-autodoc/target/classes.py1CODE
LOWtests/roots/test-ext-autodoc/target/overload.py1CODE
LOWtests/roots/test-ext-autodoc/target/overload3.py2CODE
LOWtests/roots/test-ext-autodoc/target/typehints.py1CODE
LOWtests/roots/test-ext-autodoc/target/typehints.py4CODE
LOWtests/roots/test-ext-autodoc/target/typehints.py4CODE
LOW…ts/roots/test-ext-autodoc/target/canonical/__init__.py1CODE
LOW…ts/roots/test-ext-autodoc/target/canonical/__init__.py1CODE
LOW…oots/test-ext-autodoc/target/name_conflict/__init__.py1CODE
LOW…oots/test-ext-autosummary-recursive/package2/module.py1CODE
LOW…roots/test-ext-autosummary-recursive/package/module.py1CODE
LOW…st-ext-autosummary-recursive/package/package/module.py1CODE
LOW…est-ext-viewcode-find-package/main_package/__init__.py1CODE
LOW…wcode-find-package/main_package/subpackage/__init__.py1CODE
LOW…ts/roots/test-ext-imgmockconverter/mocksvgconverter.py3CODE
628 more matches not shown…
Empty Error Handlers88 hits · 438 pts
SeverityFileLineSnippetContext
HIGHtests/test_ext_imgconverter/test_ext_imgconverter.py26except OSError: # No such file or directoryCODE
HIGHtests/test_extensions/test_ext_math.py30except OSError:CODE
HIGHtests/test_util/test_util_display.py106except Exception:CODE
HIGHtests/test_util/test_util_inspect.py921except ImportError:CODE
HIGHsphinx/jinja2glue.py249except TemplateNotFound:CODE
HIGHsphinx/events.py432except Exception:CODE
HIGHsphinx/versioning.py167except OSError:CODE
HIGHsphinx/locale/__init__.py134except Exception:CODE
HIGHsphinx/writers/texinfo.py347except IndexError:CODE
HIGHsphinx/writers/texinfo.py702except (IndexError, AttributeError):CODE
HIGHsphinx/writers/latex.py1671except KeyError:CODE
HIGHsphinx/util/docfields.py451except ValueError:CODE
HIGHsphinx/util/inspect.py767except Exception:CODE
HIGHsphinx/util/inspect.py857except (NameError, TypeError):CODE
HIGHsphinx/util/inspect.py469except Exception:CODE
HIGHsphinx/util/images.py80except ValueError:CODE
HIGHsphinx/util/osutil.py235except OSError:CODE
HIGHsphinx/util/template.py161except TemplateNotFound:CODE
HIGHsphinx/util/typing.py40except ImportError:CODE
HIGHsphinx/builders/gettext.py224except ValueError:CODE
HIGHsphinx/builders/xml.py53except OSError:CODE
HIGHsphinx/builders/text.py53except OSError:CODE
HIGHsphinx/builders/linkcheck.py664except (ValueError, TypeError):CODE
HIGHsphinx/builders/latex/theming.py97except configparser.NoOptionError:CODE
HIGHsphinx/builders/html/__init__.py338except OSError:CODE
HIGHsphinx/builders/html/__init__.py364except Exception:CODE
HIGHsphinx/builders/html/__init__.py402except OSError:CODE
HIGHsphinx/builders/html/__init__.py348except OSError:CODE
HIGHsphinx/ext/inheritance_diagram.py233except Exception: # might raise AttributeError for strange classesCODE
HIGHsphinx/ext/doctest.py282except IndexError:CODE
HIGHsphinx/ext/todo.py173except NoUri:CODE
HIGHsphinx/ext/viewcode.py276except OSError:CODE
HIGHsphinx/ext/autodoc/_generate.py145except PycodeError:CODE
HIGHsphinx/ext/autodoc/_generate.py130except (AttributeError, KeyError):CODE
HIGHsphinx/ext/autodoc/importer.py178except (TypeError, ValueError):CODE
HIGHsphinx/ext/autodoc/importer.py250except (TypeError, ValueError):CODE
HIGHsphinx/ext/autodoc/importer.py320except AttributeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py1587except ValueError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2062except PycodeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2141except PycodeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2706except (AttributeError, TypeError):CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2909except ValueError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py330except TypeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py851except PycodeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py1539except ValueError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py1558except ValueError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py1572except ValueError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py1883except PycodeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py1890except AttributeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2541except (AttributeError, PycodeError):CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2791except (AttributeError, PycodeError):CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py1683except PycodeError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2012except ImportError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2124except ValueError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2566except ImportError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2627except ImportError:CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2704except (AttributeError, PycodeError):CODE
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py2776except ValueError:CODE
HIGHsphinx/ext/autodoc/_dynamic/_type_comments.py101except PycodeError:CODE
HIGHsphinx/ext/autodoc/_dynamic/_importer.py303except AttributeError:CODE
28 more matches not shown…
Deep Nesting264 hits · 234 pts
SeverityFileLineSnippetContext
LOWtests/roots/test-ext-viewcode/conf.py16CODE
LOWtests/test_domains/test_domain_cpp.py1609CODE
LOWtests/test_domains/test_domain_c.py341CODE
LOWtests/test_domains/test_domain_c.py342CODE
LOWtests/test_ext_napoleon/test_ext_napoleon.py121CODE
LOWtests/test_markup/test_smartquotes.py32CODE
LOWutils/babel_runner.py82CODE
LOWutils/babel_runner.py165CODE
LOWutils/generate_snowball.py53CODE
LOWsphinx/jinja2glue.py63CODE
LOWsphinx/theming.py100CODE
LOWsphinx/config.py696CODE
LOWsphinx/config.py777CODE
LOWsphinx/config.py434CODE
LOWsphinx/roles.py424CODE
LOWsphinx/registry.py602CODE
LOWsphinx/application.py434CODE
LOWsphinx/extension.py41CODE
LOWsphinx/highlighting.py136CODE
LOWsphinx/project.py49CODE
LOWsphinx/directives/code.py324CODE
LOWsphinx/directives/code.py357CODE
LOWsphinx/directives/__init__.py74CODE
LOWsphinx/cmd/make_mode.py74CODE
LOWsphinx/cmd/make_mode.py103CODE
LOWsphinx/domains/javascript.py179CODE
LOWsphinx/domains/python/__init__.py603CODE
LOWsphinx/domains/python/__init__.py1077CODE
LOWsphinx/domains/python/__init__.py628CODE
LOWsphinx/domains/python/__init__.py855CODE
LOWsphinx/domains/python/_annotations.py30CODE
LOWsphinx/domains/python/_annotations.py95CODE
LOWsphinx/domains/python/_annotations.py396CODE
LOWsphinx/domains/python/_annotations.py541CODE
LOWsphinx/domains/python/_annotations.py99CODE
LOWsphinx/domains/python/_annotations.py263CODE
LOWsphinx/domains/python/_annotations.py279CODE
LOWsphinx/domains/std/__init__.py558CODE
LOWsphinx/domains/std/__init__.py229CODE
LOWsphinx/domains/std/__init__.py423CODE
LOWsphinx/domains/std/__init__.py937CODE
LOWsphinx/domains/std/__init__.py1034CODE
LOWsphinx/domains/std/__init__.py1087CODE
LOWsphinx/domains/std/__init__.py1212CODE
LOWsphinx/domains/std/__init__.py1366CODE
LOWsphinx/domains/std/__init__.py1395CODE
LOWsphinx/domains/cpp/__init__.py1070CODE
LOWsphinx/domains/cpp/_ast.py102CODE
LOWsphinx/domains/cpp/_ast.py281CODE
LOWsphinx/domains/cpp/_ast.py3389CODE
LOWsphinx/domains/cpp/_ast.py4647CODE
LOWsphinx/domains/cpp/_parser.py152CODE
LOWsphinx/domains/cpp/_parser.py399CODE
LOWsphinx/domains/cpp/_parser.py672CODE
LOWsphinx/domains/cpp/_parser.py803CODE
LOWsphinx/domains/cpp/_parser.py882CODE
LOWsphinx/domains/cpp/_parser.py950CODE
LOWsphinx/domains/cpp/_parser.py1002CODE
LOWsphinx/domains/cpp/_parser.py1147CODE
LOWsphinx/domains/cpp/_parser.py1253CODE
204 more matches not shown…
Cross-File Repetition26 hits · 130 pts
SeverityFileLineSnippetContext
HIGHtests/test_domains/test_domain_cpp.py0\ # sphinx inventory version 2 # project: intersphinx test # version: 42 # the remainder of this file is compressed usinSTRING
HIGHtests/test_domains/test_domain_c.py0\ # sphinx inventory version 2 # project: intersphinx test # version: 42 # the remainder of this file is compressed usinSTRING
HIGHtests/test_ext_napoleon/test_ext_napoleon_docstring.py0\ # sphinx inventory version 2 # project: intersphinx test # version: 42 # the remainder of this file is compressed usinSTRING
HIGHtests/test_builders/test_build_html_assets.py0test the html builder and check output against xpath.STRING
HIGHtests/test_builders/test_build_html_numfig.py0test the html builder and check output against xpath.STRING
HIGHtests/test_builders/test_build_html_5_output.py0test the html builder and check output against xpath.STRING
HIGHtests/test_builders/test_build_epub.py0test the html builder and check output against xpath.STRING
HIGHtests/test_builders/test_build_html_toctree.py0test the html builder and check output against xpath.STRING
HIGHtests/test_builders/test_build_html_tocdepth.py0test the html builder and check output against xpath.STRING
HIGHtests/test_builders/test_build_html.py0test the html builder and check output against xpath.STRING
HIGHtests/test_ext_autodoc/test_ext_autodoc.py0test the autodoc extension. this tests mainly the documenters; the auto directives are tested in a test source file tranSTRING
HIGHtests/test_ext_autodoc/test_ext_autodoc_autofunction.py0test the autodoc extension. this tests mainly the documenters; the auto directives are tested in a test source file tranSTRING
HIGHtests/test_ext_autodoc/test_ext_autodoc_automodule.py0test the autodoc extension. this tests mainly the documenters; the auto directives are tested in a test source file tranSTRING
HIGHtests/test_ext_autodoc/test_ext_autodoc_autoclass.py0test the autodoc extension. this tests mainly the documenters; the auto directives are tested in a test source file tranSTRING
HIGHtests/test_ext_autodoc/test_ext_autodoc_autodata.py0test the autodoc extension. this tests mainly the documenters; the auto directives are tested in a test source file tranSTRING
HIGH…sts/test_ext_autodoc/test_ext_autodoc_autoattribute.py0test the autodoc extension. this tests mainly the documenters; the auto directives are tested in a test source file tranSTRING
HIGHtests/test_ext_autodoc/test_ext_autodoc_autoproperty.py0test the autodoc extension. this tests mainly the documenters; the auto directives are tested in a test source file tranSTRING
HIGHsphinx/ext/autodoc/_generate.py0generate rest for member documentation. if *want_all* is true, document all members, else those given by *self.options.mSTRING
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py0generate rest for member documentation. if *want_all* is true, document all members, else those given by *self.options.mSTRING
HIGHsphinx/ext/autodoc/_dynamic/_member_finder.py0generate rest for member documentation. if *want_all* is true, document all members, else those given by *self.options.mSTRING
HIGHsphinx/ext/autodoc/_generate.py0add content from docstrings, attribute documentation and user.STRING
HIGHsphinx/ext/autodoc/_legacy_class_based/_documenters.py0add content from docstrings, attribute documentation and user.STRING
HIGHsphinx/ext/autodoc/_dynamic/_docstrings.py0add content from docstrings, attribute documentation and user.STRING
HIGHsphinx/transforms/__init__.py0docutils transforms used by sphinx when reading documents.STRING
HIGHsphinx/transforms/compact_bullet_list.py0docutils transforms used by sphinx when reading documents.STRING
HIGHsphinx/transforms/i18n.py0docutils transforms used by sphinx when reading documents.STRING
Modern Structural Boilerplate116 hits · 114 pts
SeverityFileLineSnippetContext
LOW…y-module_all/autosummary_dummy_package_all/__init__.py13__all__ = ['PublicBar', 'public_foo', 'public_baz', 'extra_dummy_module'] # NoQA: F822CODE
LOWtests/roots/test-root/autodoc_target.py4__all__ = ['Class']CODE
LOWtests/roots/test-ext-autodoc/target/__init__.py6__all__ = ['Class']CODE
LOWtests/roots/test-ext-autodoc/target/sort_by_all.py1__all__ = ['baz', 'foo', 'Bar']CODE
LOWtests/roots/test-ext-autodoc/target/empty_all.py3__all__ = []CODE
LOW…wcode-find-package/main_package/subpackage/__init__.py3__all__ = ['submodule']CODE
LOW…-ext-autosummary/autosummary_dummy_inherited_module.py12__all__ = ['InheritedAttrClass']CODE
LOW…roots/test-ext-autosummary/autosummary_dummy_module.py6__all__ = [CODE
LOWsphinx/theming.py51logger = logging.getLogger(__name__)CODE
LOWsphinx/config.py26logger = logging.getLogger(__name__)CODE
LOWsphinx/registry.py61logger = logging.getLogger(__name__)CODE
LOWsphinx/events.py41logger = logging.getLogger(__name__)CODE
LOWsphinx/io.py30logger = logging.getLogger(__name__)CODE
LOWsphinx/io.py90 def _setup_transforms(self, transforms: list[type[Transform]], /) -> None:CODE
LOWsphinx/parsers.py53 def set_application(self, app: Sphinx) -> None:CODE
LOWsphinx/application.py145logger = logging.getLogger(__name__)CODE
LOWsphinx/application.py1839 def set_html_assets_policy(self, policy: Literal['always', 'per_page']) -> None:STRING
LOWsphinx/extension.py20logger = logging.getLogger(__name__)CODE
LOWsphinx/highlighting.py41logger = logging.getLogger(__name__)CODE
LOWsphinx/project.py19logger = logging.getLogger(__name__)CODE
LOWsphinx/directives/code.py29logger = logging.getLogger(__name__)CODE
LOWsphinx/directives/other.py33logger = logging.getLogger(__name__)CODE
LOWsphinx/directives/patches.py30logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/citation.py28logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/index.py28logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/math.py29logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/_domains_container.py161 def _setup(self) -> None:CODE
LOWsphinx/domains/javascript.py35logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/rst.py31logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/python/__init__.py57logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/python/_object.py38logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/std/__init__.py40logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/cpp/__init__.py145logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/cpp/_parser.py136logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/cpp/_symbol.py27logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/c/__init__.py102logger = logging.getLogger(__name__)CODE
LOWsphinx/domains/c/_symbol.py21logger = logging.getLogger(__name__)CODE
LOWsphinx/writers/texinfo.py29logger = logging.getLogger(__name__)CODE
LOWsphinx/writers/manpage.py25logger = logging.getLogger(__name__)CODE
LOWsphinx/writers/html5.py28logger = logging.getLogger(__name__)CODE
LOWsphinx/writers/html.py16logger = logging.getLogger(__name__)CODE
LOWsphinx/writers/text.py117 def set_separator(self) -> None:CODE
LOWsphinx/writers/latex.py38logger = logging.getLogger(__name__)CODE
LOWsphinx/util/docutils.py30logger = logging.getLogger(__name__)CODE
LOWsphinx/util/docutils.py511 def set_source_info(self, node: Node) -> None:CODE
LOWsphinx/util/docutils.py691 def set_source_info(self, node: Node, lineno: int | None = None) -> None:CODE
LOWsphinx/util/fileutil.py21logger = logging.getLogger(__name__)CODE
LOWsphinx/util/docfields.py31logger = logging.getLogger(__name__)CODE
LOWsphinx/util/display.py15logger = logging.getLogger(__name__)CODE
LOWsphinx/util/inspect.py64logger = logging.getLogger(__name__)CODE
LOWsphinx/util/cfamily.py24logger = logging.getLogger(__name__)CODE
LOWsphinx/util/i18n.py60logger = logging.getLogger(__name__)CODE
LOWsphinx/util/nodes.py31logger = logging.getLogger(__name__)CODE
LOWsphinx/util/nodes.py678def set_source_info(directive: Directive, node: Node) -> None:CODE
LOWsphinx/util/nodes.py684def set_role_source_info(inliner: Inliner, lineno: int, node: Node) -> None:CODE
LOWsphinx/util/_inventory_file_reader.py9logger = logging.getLogger(__name__)CODE
LOWsphinx/util/typing.py45logger = logging.getLogger(__name__)CODE
LOWsphinx/util/parallel.py25logger = logging.getLogger(__name__)CODE
LOWsphinx/util/rst.py26logger = logging.getLogger(__name__)CODE
LOWsphinx/util/inventory.py16logger = logging.getLogger(__name__)CODE
56 more matches not shown…
Excessive Try-Catch Wrapping81 hits · 91 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_domains/test_domain_cpp.py122 print('Error in id version %d.' % i)CODE
MEDIUMtests/test_domains/test_domain_c.py116 print('Error in id version %d.' % i)CODE
LOWtests/test_util/test_util_display.py106 except Exception:CODE
LOWutils/babel_runner.py158 except Exception:CODE
LOWutils/bump_version.py173 except Exception:CODE
LOWsphinx/theming.py274 except Exception:CODE
LOWsphinx/config.py429 except Exception:CODE
LOWsphinx/config.py609 except Exception as exc:CODE
LOWsphinx/events.py432 except Exception:CODE
LOWsphinx/events.py447 except Exception as exc:CODE
LOWsphinx/application.py407 except Exception as err:CODE
LOWsphinx/application.py445 except Exception as err:CODE
LOWsphinx/directives/code.py505 except Exception as exc:CODE
LOWsphinx/cmd/build.py356 except Exception as exc:CODE
MEDIUM⚡sphinx/cmd/make_mode.py80 print("Error: '%s' is not a directory!" % self.build_dir)CODE
MEDIUM⚡sphinx/cmd/make_mode.py83 print("Error: '%s' is same as source directory!" % self.build_dir)CODE
MEDIUM⚡sphinx/cmd/make_mode.py86 print("Error: '%s' directory contains source directory!" % self.build_dir)CODE
MEDIUMsphinx/cmd/make_mode.py148 print('Error: Failed to run: %s' % makecmd)CODE
MEDIUMsphinx/cmd/make_mode.py164 print('Error: Failed to run: %s' % makecmd)CODE
MEDIUMsphinx/cmd/make_mode.py179 print('Error: Failed to run: %s' % makecmd)CODE
LOWsphinx/domains/python/_object.py342 except Exception as exc:STRING
LOWsphinx/domains/cpp/_parser.py1944 except Exception:CODE
LOWsphinx/locale/__init__.py58 except Exception:CODE
LOWsphinx/locale/__init__.py134 except Exception:CODE
MEDIUMsphinx/locale/__init__.py33def __str__(self) -> str:CODE
LOWsphinx/writers/latex.py1126 except Exception:CODE
LOWsphinx/util/fileutil.py164 except Exception as exc:CODE
LOWsphinx/util/inspect.py462 except Exception as exc:CODE
LOWsphinx/util/inspect.py469 except Exception:CODE
LOWsphinx/util/inspect.py548 except Exception as exc:CODE
LOWsphinx/util/inspect.py767 except Exception:CODE
LOWsphinx/util/images.py55 except Exception:CODE
LOWsphinx/util/i18n.py98 except Exception as exc:CODE
LOWsphinx/util/i18n.py111 except Exception as exc:CODE
LOWsphinx/util/nodes.py82 except Exception:CODE
LOWsphinx/util/nodes.py120 except Exception:CODE
LOWsphinx/util/nodes.py518 except Exception:CODE
LOWsphinx/util/nodes.py736 except Exception as err:CODE
LOWsphinx/util/parallel.py109 except Exception:CODE
LOWsphinx/builders/texinfo.py201 except Exception as err:CODE
LOWsphinx/builders/gettext.py282 except Exception as exc:CODE
LOWsphinx/builders/xml.py47 except Exception:CODE
LOWsphinx/builders/text.py47 except Exception:CODE
LOWsphinx/builders/linkcheck.py622 except Exception as err:CODE
LOWsphinx/builders/epub3.py281 except Exception:CODE
LOWsphinx/builders/latex/__init__.py487 except Exception as err:CODE
LOWsphinx/builders/html/__init__.py364 except Exception:CODE
LOWsphinx/builders/html/__init__.py781 except Exception as err:CODE
LOWsphinx/builders/html/__init__.py1220 except Exception as exc:CODE
LOWsphinx/builders/html/__init__.py1305 except Exception:CODE
LOWsphinx/builders/html/__init__.py1322 except Exception:CODE
MEDIUMsphinx/builders/html/__init__.py913def copy_static_files(self) -> None:CODE
LOWsphinx/ext/coverage.py47 except Exception:CODE
LOWsphinx/ext/coverage.py186 except Exception:CODE
LOWsphinx/ext/inheritance_diagram.py233 except Exception: # might raise AttributeError for strange classesCODE
LOWsphinx/ext/doctest.py396 except Exception:STRING
LOWsphinx/ext/doctest.py566 except Exception:CODE
LOWsphinx/ext/ifconfig.py62 except Exception as err:CODE
LOWsphinx/ext/viewcode.py96 except Exception as e:CODE
LOWsphinx/ext/viewcode.py130 except Exception:CODE
21 more matches not shown…
Cross-Language Confusion10 hits · 62 pts
SeverityFileLineSnippetContext
HIGH⚡tests/test_domains/test_domain_cpp.py1311 'template<typename T> requires A || B or C void f()',CODE
HIGH⚡tests/test_domains/test_domain_cpp.py1314 check('function', 'void f() requires A || B || C', {4: 'IQoo1Aoo1B1CE1fv'})CODE
HIGH⚡tests/test_domains/test_domain_cpp.py1315 check('function', 'Foo() requires A || B || C', {4: 'IQoo1Aoo1B1CE3Foov'})CODE
HIGH⚡tests/test_domains/test_domain_cpp.py1318 'template<typename T> requires A && B || C and D void f()',CODE
HIGH⚡tests/test_domains/test_domain_cpp.py1318 'template<typename T> requires A && B || C and D void f()',CODE
HIGHtests/test_domains/test_domain_cpp.py377 expr_check('5 || 42', 'ooL5EL42E')CODE
HIGHtests/test_domains/test_domain_cpp.py379 expr_check('5 && 42', 'aaL5EL42E')CODE
HIGHtests/test_domains/test_domain_cpp.py600 check('member', 'int b : 1 || new int{0}', {1: 'b__i', 2: '1b'})CODE
HIGHtests/test_domains/test_domain_c.py289 expr_check('5 || 42')CODE
HIGHtests/test_domains/test_domain_c.py291 expr_check('5 && 42')CODE
Hallucination Indicators3 hits · 35 pts
SeverityFileLineSnippetContext
CRITICALtests/test_domains/test_domain_cpp.py147 sphinx.domains.cpp._ids._id_fundamental_v2.items(),CODE
CRITICALsphinx/ext/autodoc/directive.py175 self.state.document.settings.record_dependencies.add(fn)CODE
CRITICALsphinx/transforms/i18n.py216 # `docutils.parsers.rst.states.RSTState.new_subsection()`COMMENT
Decorative Section Separators14 hits · 35 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_domains/test_domain_c.py349 # -------------COMMENT
MEDIUMtests/test_domains/test_domain_c.py367 # --------------------COMMENT
MEDIUMtests/test_domains/test_domain_c.py387 # -----------------------------COMMENT
MEDIUM⚡sphinx/domains/cpp/_ids.py342# ------------------------------------------------------------------------------STRING
MEDIUM⚡sphinx/domains/cpp/_ids.py344# ------------------------------------------------------------------------------STRING
MEDIUMsphinx/domains/cpp/_ids.py416# ------------------------------------------------------------------------------STRING
MEDIUMsphinx/domains/cpp/_ids.py418# ------------------------------------------------------------------------------STRING
MEDIUMsphinx/domains/cpp/_ast.py2706 # ------------------------------------------------------------------------COMMENT
MEDIUMsphinx/domains/cpp/_ast.py2762 # ------------------------------------------------------------------------COMMENT
MEDIUMsphinx/domains/cpp/_parser.py848 # ==========================================================================COMMENT
MEDIUMsphinx/domains/cpp/_parser.py1000 # ==========================================================================COMMENT
MEDIUMsphinx/domains/cpp/_parser.py1831 # ==========================================================================COMMENT
MEDIUMsphinx/domains/c/_ast.py1232 # ------------------------------------------------------------------------COMMENT
MEDIUMsphinx/domains/c/_ast.py1275 # ------------------------------------------------------------------------COMMENT
Self-Referential Comments15 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMtests/roots/test-ext-autodoc/target/wrappedfunction.py10 """This function is slow."""STRING
MEDIUMtests/roots/test-ext-coverage/grog/coverage_missing.py1"""This module is intentionally not documented."""STRING
MEDIUMtests/test_builders/test_build_linkcheck.py1349 # Create a shared, but limited-size, connection poolCOMMENT
MEDIUMsphinx/util/docutils.py841 # Create a new instance of nodes.document using cached reporterCOMMENT
MEDIUMsphinx/builders/__init__.py686 # Create a copy of settings object before modification because it isCOMMENT
MEDIUMsphinx/ext/inheritance_diagram.py420 # Create a graph starting with the list of classesCOMMENT
MEDIUMsphinx/ext/inheritance_diagram.py479 # Create a mapping from fully-qualified class names to URLs.COMMENT
MEDIUMsphinx/ext/todo.py138 # Create a copy of the todo nodeCOMMENT
MEDIUMsphinx/ext/todo.py165 # Create a referenceCOMMENT
MEDIUMsphinx/ext/autodoc/__init__.py90 # This class is only used in ``sphinx.ext.autodoc.directive``,COMMENT
MEDIUMsphinx/ext/intersphinx/_resolve.py1"""This module provides logic for resolving references to intersphinx targets."""STRING
MEDIUMsphinx/ext/intersphinx/_cli.py1"""This module provides contains the code for intersphinx command-line utilities."""STRING
MEDIUMsphinx/search/__init__.py43 """This class is the base class for search natural language preprocessors. IfSTRING
MEDIUMsphinx/search/__init__.py102 """This method implements stemming algorithm of the Python version.STRING
MEDIUMdoc/development/tutorials/examples/todo.py99 # Create a referenceCOMMENT
AI Slop Vocabulary14 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMsphinx/highlighting.py62# the definitions here use only robust, protected or chardef tokens,COMMENT
LOWsphinx/highlighting.py158 # just return custom lexers here (without installing raiseonerror filter)STRING
LOWsphinx/directives/__init__.py303 # or any of its children, then just return the index node,COMMENT
LOWsphinx/domains/index.py105 # otherwise we just create a single entryCOMMENT
MEDIUMsphinx/domains/javascript.py363 # Make a duplicate entry in 'objects' to facilitate searching forCOMMENT
LOWsphinx/domains/cpp/_ast.py86 # a destructor, just use an arbitrary version of dtorsCOMMENT
MEDIUMsphinx/domains/cpp/_symbol.py754 # Essentially any combination of no_decl, with_decl, and dup_decls seems possible.COMMENT
MEDIUMsphinx/domains/c/_symbol.py442 # Essentially any combination of no_decl, with_decl, and dup_decls seems possible.COMMENT
LOWsphinx/writers/latex.py748 # just use "subparagraph", it's not numbered anywayCOMMENT
MEDIUMsphinx/util/inspect.py714# Using annotationlib's FORWARDREF format gives us more robust handlingCOMMENT
LOWsphinx/util/_serialise.py54 # We can't do any better, just use the string representationCOMMENT
LOWsphinx/ext/inheritance_diagram.py129 # If imported object is a class, just return itCOMMENT
LOWsphinx/ext/autodoc/_legacy_class_based/_documenters.py1578 # the signature from, so just pass the object itself to our hook.COMMENT
LOWsphinx/ext/autodoc/_dynamic/_signatures.py581 # the signature from, so just return the object itself to be passedCOMMENT
Over-Commented Block26 hits · 24 pts
SeverityFileLineSnippetContext
LOW.ruff.toml161 "BLE",COMMENT
LOW.ruff.toml181 "DTZ",COMMENT
LOW.ruff.toml221 # Numpy is not used in SphinxCOMMENT
LOWtests/roots/test-ext-autodoc/target/private.py21 #:COMMENT
LOW…s/test_directives/test_directive_object_description.py41 )COMMENT
LOWtests/test_extensions/test_ext_inheritance_diagram.py101 # rendering should beCOMMENT
LOWtests/test_ext_autodoc/test_ext_autodoc_events.py161 '',COMMENT
LOWtests/test_environment/test_environment_toctree.py1061 # regression test for https://github.com/sphinx-doc/sphinx/issues/13022COMMENT
LOWtests/test_environment/test_environment_toctree.py1081 # <reference anchorname="" internal="True" refuri="index">COMMENT
LOWsphinx/roles.py561# In practice this does not produce correct highlighting because it uses aCOMMENT
LOWsphinx/domains/cpp/_parser.py401 # | postfix "[" expression "]"COMMENT
LOWsphinx/domains/cpp/_parser.py541 if lst is not None:COMMENT
LOWsphinx/domains/cpp/_parser.py741 then_expr = self._parse_expression()COMMENT
LOWsphinx/domains/cpp/_parser.py1561 prev_errors.append((e, 'If declarator-id'))COMMENT
LOWsphinx/writers/latex.py1361 context = '}%' + CRCOMMENT
LOWsphinx/util/texescape.py41# https://github.com/sphinx-doc/sphinx/pull/6888COMMENT
LOWsphinx/util/inspect.py981 defaults: tuple[ast.expr | None, ...] = tuple(args.defaults)COMMENT
LOWsphinx/util/inventory.py121 continueCOMMENT
LOWsphinx/builders/__init__.py61logger = logging.getLogger(__name__)COMMENT
LOWsphinx/ext/autodoc/_generate.py101 """COMMENT
LOWsphinx/transforms/__init__.py181 default_priority = 210COMMENT
LOWsphinx/transforms/i18n.py181 # name like "`text to display <explicit target name_>`_"..COMMENT
LOWsphinx/transforms/i18n.py201 # * if _id is provided: below processCOMMENT
LOWsphinx/environment/__init__.py1041COMMENT
LOWsphinx/environment/__init__.py1081 #: used to format the table of contents entry.COMMENT
LOWsphinx/environment/adapters/toctree.py141 be collapsed.COMMENT
Fake / Example Data14 hits · 15 pts
SeverityFileLineSnippetContext
LOWtests/roots/test-versioning/original.txt4So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOWtests/roots/test-versioning/deleted.txt4So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOWtests/roots/test-versioning/insert.txt4So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOWtests/roots/test-versioning/insert_similar.txt4So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOWtests/roots/test-versioning/insert_beginning.txt7So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOWtests/roots/test-versioning/added.txt4So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOWtests/roots/test-versioning/modified.txt4So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOWtests/roots/test-versioning/deleted_end.txt4So the thing is I need some kind of text - not the lorem ipsum stuff, thatCODE
LOW⚡…s/test_directives/test_directive_object_description.py59 # Lorem ipsum dolar sit ametCOMMENT
LOW⚡…s/test_directives/test_directive_object_description.py69 assert extract_node(doctree, 1, 1, 0, 1, 0) == 'Lorem ipsum dolar sit amet'CODE
LOWtests/test_util/test_util_docstrings.py47 Lorem ipsum dolor sit amet, consectetur adipiscing elit,CODE
LOWtests/test_util/test_util_docstrings.py47 Lorem ipsum dolor sit amet, consectetur adipiscing elit,CODE
LOWtests/test_util/test_util_docstrings.py58 'Lorem ipsum dolor sit amet, consectetur adipiscing elit,',STRING
LOWtests/test_util/test_util_docstrings.py58 'Lorem ipsum dolor sit amet, consectetur adipiscing elit,',STRING
Redundant / Tautological Comments6 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_builders/test_build_html_toctree.py98 # Read files in reversed orderCOMMENT
LOW⚡tests/test_builders/test_build_html_toctree.py102 # Check if charlie is a child of delta in charlie.htmlCOMMENT
LOWsphinx/util/i18n.py226 # Check if we have the tzinfo attribute. If not we cannot do any timeCOMMENT
LOWsphinx/util/i18n.py294 # Check if we have to use a different babel formatter thenCOMMENT
LOWsphinx/builders/linkcheck.py636 # Check if URL should be normalised case-insensitivelyCOMMENT
LOWsphinx/builders/linkcheck.py723 # Read file in chunks. If we find a matching anchor, we breakCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdoc/usage/extensions/example_google.py75This is an example of a module level function. Function parameters should be documented in the ``Args`` section. ThSTRING
HIGHdoc/usage/extensions/example_google.py130Generators have a ``Yields`` section instead of a ``Returns`` section. Args: n (int): The upper limit of thSTRING
Slop Phrases7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtox.ini39# If you update any of these commands, don't forget to update the equivalentCOMMENT
LOWtox.ini39# If you update any of these commands, don't forget to update the equivalentCOMMENT
LOWsphinx/domains/javascript.py417 # if you add a new object type make sure to edit JSObject.get_index_stringCOMMENT
LOW⚡sphinx/domains/cpp/_ids.py340# so when _max_id changes, make sure to update the ENV_VERSION.STRING
LOWsphinx/domains/c/_ids.py95# so when _max_id changes, make sure to update the ENV_VERSION.COMMENT
LOW.github/workflows/lint.yml20 # If you update any of these commands, don't forget to update the equivalentCOMMENT
LOW.github/workflows/lint.yml20 # If you update any of these commands, don't forget to update the equivalentCOMMENT
AI Structural Patterns7 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/test_builders/test_build_epub.py314CODE
LOWsphinx/application.py165CODE
LOWsphinx/domains/cpp/__init__.py1240CODE
LOWsphinx/writers/latex.py1906CODE
LOWsphinx/ext/autodoc/_shared.py83CODE
LOWsphinx/ext/autodoc/directive.py178CODE
LOWsphinx/testing/util.py110CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_ext_autodoc/test_ext_autodoc.py152CODE
MEDIUMsphinx/domains/cpp/_ast.py3133CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_pycode/test_pycode_parser.py196def test_function() -> None:CODE
LOWtests/test_util/test_util_inspect.py1002 def my_method(self) -> None:CODE