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

Commit

Permalink
chore: remove obsolete replacement in owlbot.py (#633)
Browse files Browse the repository at this point in the history
* Remove owlbot.py workaround

I manually checked that search string no longer exists in the noxfile specified in the workaround

* Ping conventional commit bot

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Remove blank line

* Fix to conform to canonical owlbot.py

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people committed Sep 14, 2023
1 parent 230941e commit f98640b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ def docs(session):
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
"sphinx-build",
"-W", # warnings as errors
"-T", # show full traceback on exception
"-N", # no colors
"-b",
Expand Down
9 changes: 0 additions & 9 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
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.remove_staging_dirs()

Expand All @@ -52,14 +51,6 @@

python.py_samples(skip_readmes=True)

# Don't treat warnings as errors
# Docstrings have unexpected idnentation and block quote formatting issues
s.replace(
"noxfile.py",
'''["']-W["'], # warnings as errors''',
"",
)

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

0 comments on commit f98640b

Please sign in to comment.