Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit f98640b

Browse filesBrowse files
vchudnov-ggcf-owl-bot[bot]parthea
authored
chore: remove obsolete replacement in owlbot.py (#633)
* 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>
1 parent 230941e commit f98640b
Copy full SHA for f98640b

File tree

Expand file treeCollapse file tree

2 files changed

+1
-9
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-9
lines changed

‎noxfile.py

Copy file name to clipboardExpand all lines: noxfile.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ def docs(session):
288288
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
289289
session.run(
290290
"sphinx-build",
291+
"-W", # warnings as errors
291292
"-T", # show full traceback on exception
292293
"-N", # no colors
293294
"-b",

‎owlbot.py

Copy file name to clipboardExpand all lines: owlbot.py
-9Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
if clean_up_generated_samples:
3636
shutil.rmtree("samples/generated_samples", ignore_errors=True)
3737
clean_up_generated_samples = False
38-
3938
s.move([library], excludes=["**/gapic_version.py"])
4039
s.remove_staging_dirs()
4140

@@ -52,14 +51,6 @@
5251

5352
python.py_samples(skip_readmes=True)
5453

55-
# Don't treat warnings as errors
56-
# Docstrings have unexpected idnentation and block quote formatting issues
57-
s.replace(
58-
"noxfile.py",
59-
'''["']-W["'], # warnings as errors''',
60-
"",
61-
)
62-
6354
# run format session for all directories which have a noxfile
6455
for noxfile in Path(".").glob("**/noxfile.py"):
6556
s.shell.run(["nox", "-s", "format"], cwd=noxfile.parent, hide_output=False)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.