Skip to content

Commit

Permalink
chore: generate python samples templates in owlbot.py (#103)
Browse files Browse the repository at this point in the history
Generate python samples templates in owlbot.py
  • Loading branch information
busunkim96 authored Aug 18, 2021
1 parent 07e7aa7 commit a9e40bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/google-cloud-monitoring-dashboards/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,12 @@
microgenerator=True,
cov_level=96
)
python.py_samples(skip_readmes=True)
s.move(templated_files, excludes=[".coveragerc"]) # microgenerator has a good .coveragerc file


# Temporarily disable warnings due to
# https://github.com/googleapis/gapic-generator-python/issues/525
s.replace("noxfile.py", '[\"\']-W[\"\']', '# "-W"')

s.shell.run(["nox", "-s", "blacken"], hide_output=False)
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 comments on commit a9e40bf

Please sign in to comment.