Skip to content

fix(documentation_provider): correct spelling "redundant" in function name#3078

Merged
Skn0tt merged 1 commit into
microsoft:mainfrom
26rahulchoudhary:fix-rename-filter-out-redundant-snippets
May 18, 2026
Merged

fix(documentation_provider): correct spelling "redundant" in function name#3078
Skn0tt merged 1 commit into
microsoft:mainfrom
26rahulchoudhary:fix-rename-filter-out-redundant-snippets

Conversation

@26rahulchoudhary
Copy link
Copy Markdown
Contributor

Summary

  • Renamed a misspelled helper function in scripts/documentation_provider.py
  • Updated filter_out_redudant_python_code_snippetsfilter_out_redundant_python_code_snippets
  • Updated the corresponding call site in beautify_method_comment()
  • No behavioral or functional changes

Details

This is a small refactor to correct a spelling mistake in a helper function name (redudantredundant).

The change is self-contained within a single file, and the related function call was updated accordingly.

Before

def filter_out_redudant_python_code_snippets(self, comment: str) -> str:
    groups = []

def beautify_method_comment(self, comment: str, indent: str) -> str:
    comment = self.filter_out_redudant_python_code_snippets(comment)

After

def filter_out_redundant_python_code_snippets(self, comment: str) -> str:
    groups = []

def beautify_method_comment(self, comment: str, indent: str) -> str:
    comment = self.filter_out_redundant_python_code_snippets(comment)

Verified that no external references to the old function name exist.

@26rahulchoudhary
Copy link
Copy Markdown
Contributor Author

Hey @Skn0tt, could you please review this PR? It should only take a minute.

@Skn0tt Skn0tt merged commit 0c81861 into microsoft:main May 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants