Skip to content

Commit

Permalink
Minor docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Nov 16, 2023
1 parent 72b8062 commit ae55883
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/codemodder/scripts/generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ def generate_docs(codemod):
return output


SKIP_DOCS = ["order-imports", "unused-imports"]


def main():
parser = argparse.ArgumentParser(
description="Generate public docs for registered codemods."
Expand All @@ -192,7 +195,7 @@ def main():

registry = load_registered_codemods()
for codemod in registry.codemods:
if codemod.name == "order-imports":
if codemod.name in SKIP_DOCS:
continue

doc = generate_docs(codemod)
Expand Down
2 changes: 1 addition & 1 deletion src/core_codemods/use_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class UseGenerator(BaseCodemod, NameResolutionMixin):
NAME = "use-generator"
SUMMARY = "Use generators for lazy evaluation"
SUMMARY = "Use Generator Expressions Instead of List Comprehensions"
REVIEW_GUIDANCE = ReviewGuidance.MERGE_WITHOUT_REVIEW
DESCRIPTION = "Replace list comprehension with generator expression"
REFERENCES = [
Expand Down

0 comments on commit ae55883

Please sign in to comment.