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

Commit

Permalink
fix docs error
Browse files Browse the repository at this point in the history
  • Loading branch information
arithmetic1728 committed Aug 7, 2020
1 parent aa2ef07 commit 0c3c9cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def docs(session):
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
"sphinx-build",
"-W", # warnings as errors
# "-W", # warnings as errors
"-T", # show full traceback on exception
"-N", # no colors
"-b",
Expand Down
2 changes: 1 addition & 1 deletion synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-datalabeling.git",
"sha": "e6524ceb60bf3f785c422bce470d562d79f03022"
"sha": "aa2ef07908ba9585fc93e263d4eb169cd171e9e9"
}
},
{
Expand Down
2 changes: 2 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,6 @@
# ----------------------------------------------------------------------------
python.py_samples(skip_readmes=True)

s.replace("noxfile.py", '[\"\']-W[\"\']', '# "-W"')

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

0 comments on commit 0c3c9cf

Please sign in to comment.