-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] master from sphinx-doc:master #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Reviewer's Guide by SourceryThis pull request focuses on removing unused variables throughout the Sphinx codebase and updating the ruff dependency. The changes improve code readability, maintainability, and reduce potential errors. The ruff dependency has been updated to version 0.11.0. Updated class diagram for AutoDirectiveclassDiagram
class AutoDirective {
+parse_name()
+resolve_name()
+_find_signature()
+should_suppress_value_header()
}
note for AutoDirective "Unused variable `tp_list` removed from `parse_name` and `_find_signature` methods."
note for AutoDirective "Unused variable `sep` removed from `resolve_name` method."
note for AutoDirective "Unused variable `docstring` removed from `should_suppress_value_header` method."
Updated class diagram for ImageMathclassDiagram
class ImageMath {
+convert_dvi_to_png()
+convert_dvi_to_svg()
+html_visit_displaymath()
}
note for ImageMath "Unused variable `stderr` removed from `convert_dvi_to_svg` method."
note for ImageMath "Unused variable `depth` removed from `html_visit_displaymath` method."
Updated class diagram for ViewcodeclassDiagram
class Viewcode {
+env_purge_doc()
+get_module_filename()
+collect_pages()
}
note for Viewcode "Unused variable `code` and `refname` removed from `env_purge_doc` method."
note for Viewcode "Unused variable `source` removed from `get_module_filename` method."
note for Viewcode "Unused variable `type` removed from `collect_pages` method."
Updated class diagram for GraphvizclassDiagram
class Graphviz {
+render_dot_latex()
+render_dot_texinfo()
}
note for Graphviz "Unused variable `outfn` removed from `render_dot_latex` and `render_dot_texinfo` methods."
Updated class diagram for IncludeclassDiagram
class Include {
+run()
}
note for Include "Unused variable `rel_filename` removed from `run` method."
Updated class diagram for CParserclassDiagram
class CParser {
+_parse_paren_expression_list()
}
note for CParser "Unused variable `trailing_comma` removed from `_parse_paren_expression_list` method."
Updated class diagram for CitationDomainclassDiagram
class CitationDomain {
+resolve_xref()
}
note for CitationDomain "Unused variable `lineno` removed from `resolve_xref` method."
Updated class diagram for CPPParserclassDiagram
class CPPParser {
+_parse_paren_expression_list()
}
note for CPPParser "Unused variable `trailing_comma` removed from `_parse_paren_expression_list` method."
Updated class diagram for IndexEntriesclassDiagram
class IndexEntries {
+_group_by_func()
}
note for IndexEntries "Unused variable `targets` and `sub_items` removed from `_group_by_func` method."
Updated class diagram for AssetclassDiagram
class Asset {
+collect_candidates()
}
note for Asset "Unused variable `basename` removed from `collect_candidates` method."
Updated class diagram for AutoSummaryclassDiagram
class AutoSummary {
+import_ivar_by_name()
+find_autosummary_in_docstring()
}
note for AutoSummary "Unused variable `parent` removed from `import_ivar_by_name` method."
note for AutoSummary "Unused variable `real_name` and `parent` and `modname` removed from `find_autosummary_in_docstring` method."
Updated class diagram for InheritanceDiagramclassDiagram
class InheritanceDiagram {
+run()
}
note for InheritanceDiagram "Unused variable `x` removed from `run` method."
Updated class diagram for NapoleonclassDiagram
class Napoleon {
+_consume_field()
}
note for Napoleon "Unused variable `colon` removed from `_consume_field` method."
Updated class diagram for TexinfoclassDiagram
class Texinfo {
+visit_footnote_reference()
}
note for Texinfo "Unused variable `used` removed from `visit_footnote_reference` method."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Co-authored-by: Adam Turner <[email protected]>
…13332) Co-authored-by: Adam Turner <[email protected]>
…owed_redirects (#13458) Co-authored-by: Adam Turner <[email protected]>
The 'Porter' stemmer is considered frozen.
Docutils revision r10129 [1] removes the member from the namespace. [1]: https://sourceforge.net/p/docutils/code/10129/
Co-authored-by: Adam Turner <[email protected]>
…3553) Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by Sourcery
This PR addresses several minor issues across different modules, primarily focusing on removing unused variables and updating a dependency version.
Chores: