Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
chore: Prepare for mono repository migration
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Apr 17, 2023
1 parent e9122d5 commit b2d5cf0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
if clean_up_generated_samples:
shutil.rmtree("samples/generated_samples", ignore_errors=True)
clean_up_generated_samples = False

s.move(library, excludes=["**/gapic_version.py"])
s.move([library], excludes=["**/gapic_version.py"])
s.remove_staging_dirs()

# ----------------------------------------------------------------------------
Expand All @@ -52,10 +51,6 @@

python.py_samples(skip_readmes=True)

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

# run format session for all directories which have a noxfile
for noxfile in Path(".").glob("**/noxfile.py"):
s.shell.run(["nox", "-s", "blacken"], cwd=noxfile.parent, hide_output=False)
s.shell.run(["nox", "-s", "format"], cwd=noxfile.parent, hide_output=False)

0 comments on commit b2d5cf0

Please sign in to comment.