Skip to content

Commit

Permalink
fix(python): skip samples readmegen in synthtool (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 authored Dec 10, 2020
1 parent 352f256 commit 996775e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions synthtool/languages/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ def py_samples(*, root: PathOrStr = None, skip_readmes: bool = False) -> None:
# todo(kolea2): temporary exclusion until samples are ready to be migrated to new format
excludes.append("README.md")

# TODO(busunkim): Readmegen is disabled as it requires installing the sample
# requirements in Synthtool. Sample Readmegen should be refactored to stop
# relying on the output of `python sample.py --help`
skip_readmes = True
if skip_readmes:
excludes.append("README.rst")
t = templates.TemplateGroup(SAMPLES_TEMPLATE_PATH, excludes=excludes)
Expand Down

0 comments on commit 996775e

Please sign in to comment.