Skip to content

Commit 6cbfdc8

Browse files
chore: use latest sphinx (googleapis#21)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2020-05-28 05:21:11,710 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-billing/synth.py. On branch autosynth nothing to commit, working tree clean 2020-05-28 05:21:11,855 synthtool [DEBUG] > Ensuring dependencies. 2020-05-28 05:21:12,184 synthtool [DEBUG] > Cloning googleapis. 2020-05-28 05:21:12,538 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest latest: Pulling from gapic-images/gapic-generator-python Digest: sha256:99070ca71497522095786ca73fc09615b79581e9e0e9cd7f02170124b4337a43 Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest 2020-05-28 05:21:13,481 synthtool [DEBUG] > Generating code for: google/cloud/billing/v1. 2020-05-28 05:21:18,917 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp1vlxxcbw. 2020-05-28 05:21:18,938 synthtool [WARNING] > No replacements made in **/*_pb2.py for pattern (\# -\*- coding: utf-8 -\*-\n)(\# Generated by the protocol buffer compiler\. DO NOT EDIT!.*?# source: .*?\.proto), maybe replacement is no longer needed? 2020-05-28 05:21:18,941 synthtool [WARNING] > No replacements made in **/*_pb2_grpc.py for pattern (\# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!) (import grpc), maybe replacement is no longer needed? .coveragerc .flake8 .github/CONTRIBUTING.md .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .gitignore .kokoro/build.sh .kokoro/continuous/common.cfg .kokoro/continuous/continuous.cfg .kokoro/docs/common.cfg .kokoro/docs/docs.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/presubmit.cfg .kokoro/publish-docs.sh .kokoro/release.sh .kokoro/release/common.cfg .kokoro/release/release.cfg .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.rst LICENSE MANIFEST.in docs/_static/custom.css docs/_templates/layout.html docs/conf.py.j2 docs/multiprocessing.rst noxfile.py.j2 renovate.json setup.cfg 2020-05-28 05:21:19,036 synthtool [INFO] > Replaced 'bigquery/docs/generated' in .gitignore. 2020-05-28 05:21:19,037 synthtool [INFO] > Replaced '\\["2\\.7", ' in noxfile.py. 2020-05-28 05:21:19,037 synthtool [INFO] > Replaced '"3.5", ' in noxfile.py. 2020-05-28 05:21:19,038 synthtool [INFO] > Replaced '(ignore = .*)' in .flake8. Running session blacken Creating virtual environment (virtualenv) using python3.6 in .nox/blacken pip install black==19.3b0 black docs google tests noxfile.py setup.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_billing/__init__.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/__init__.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing/__init__.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_billing/transports/__init__.py reformatted /home/kbuilder/.cache/synthtool/python-billing/docs/conf.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_billing/pagers.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_catalog/__init__.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_billing/transports/base.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_catalog/pagers.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_catalog/transports/__init__.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_catalog/transports/base.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_catalog/client.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_billing/transports/grpc.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/types/__init__.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_catalog/transports/grpc.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/types/cloud_billing.py reformatted /home/kbuilder/.cache/synthtool/python-billing/noxfile.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/services/cloud_billing/client.py reformatted /home/kbuilder/.cache/synthtool/python-billing/google/cloud/billing_v1/types/cloud_catalog.py reformatted /home/kbuilder/.cache/synthtool/python-billing/tests/unit/billing_v1/test_cloud_catalog.py reformatted /home/kbuilder/.cache/synthtool/python-billing/tests/unit/billing_v1/test_cloud_billing.py All done! ✨ 🍰 ✨ 21 files reformatted, 2 files left unchanged. Session blacken was successful. 2020-05-28 05:21:23,468 synthtool [DEBUG] > Wrote metadata to synth.metadata. ``` </details>
1 parent a2ceb15 commit 6cbfdc8

4 files changed

Lines changed: 7 additions & 10 deletions

File tree

packages/google-cloud-billing/docs/conf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"sphinx.ext.napoleon",
3939
"sphinx.ext.todo",
4040
"sphinx.ext.viewcode",
41+
"recommonmark",
4142
]
4243

4344
# autodoc/autosummary flags
@@ -49,10 +50,6 @@
4950
# Add any paths that contain templates here, relative to this directory.
5051
templates_path = ["_templates"]
5152

52-
# Allow markdown includes (so releases.md can include CHANGLEOG.md)
53-
# http://www.sphinx-doc.org/en/master/markdown.html
54-
source_parsers = {".md": "recommonmark.parser.CommonMarkParser"}
55-
5653
# The suffix(es) of source filenames.
5754
# You can specify multiple suffix as a list of string:
5855
# source_suffix = ['.rst', '.md']

packages/google-cloud-billing/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def docs(session):
138138
"""Build the docs for this library."""
139139

140140
session.install("-e", ".")
141-
session.install("sphinx<3.0.0", "alabaster", "recommonmark")
141+
session.install("sphinx", "alabaster", "recommonmark")
142142

143143
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
144144
session.run(

packages/google-cloud-billing/synth.metadata

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-billing.git",
7-
"sha": "137538dd6a5e08194acdc1324c8e9e55309168e4"
7+
"sha": "fef622a0dddf005d8af329ee001ec41f03850427"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "e9e90a787703ec5d388902e2cb796aaed3a385b4",
15-
"internalRef": "297671458"
14+
"sha": "eafa840ceec23b44a5c21670288107c661252711",
15+
"internalRef": "313488995"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "470789cee75ce93c41348ad6aa4c49363a80399b"
22+
"sha": "71b8a272549c06b5768d00fa48d3ae990e871bec"
2323
}
2424
}
2525
],

packages/google-cloud-billing/synth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# Expand flake errors permitted to accomodate the Microgenerator
5151
# TODO: remove extra error codes once issues below are resolved
5252
# https://github.com/googleapis/gapic-generator-python/issues/425
53-
s.replace(".flake8", "(ignore = .*)", "\g<1>, F401, f841")
53+
s.replace(".flake8", "(ignore = .*)", "\g<1>, F401, F841")
5454

5555

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

0 commit comments

Comments
 (0)