diff --git a/packages/google-cloud-python-speech/.gitignore b/packages/google-cloud-python-speech/.gitignore
new file mode 100644
index 000000000000..3fb06e09ce74
--- /dev/null
+++ b/packages/google-cloud-python-speech/.gitignore
@@ -0,0 +1,58 @@
+*.py[cod]
+*.sw[op]
+
+# C extensions
+*.so
+
+# Packages
+*.egg
+*.egg-info
+dist
+build
+eggs
+parts
+bin
+var
+sdist
+develop-eggs
+.installed.cfg
+lib
+lib64
+__pycache__
+
+# Installer logs
+pip-log.txt
+
+# Unit test / coverage reports
+.coverage
+.nox
+.cache
+.pytest_cache
+
+
+# Mac
+.DS_Store
+
+# JetBrains
+.idea
+
+# VS Code
+.vscode
+
+# emacs
+*~
+
+# Built documentation
+docs/_build
+bigquery/docs/generated
+
+# Virtual environment
+env/
+coverage.xml
+
+# System test environment variables.
+system_tests/local_test_setup
+
+# Make sure a generated file isn't accidentally committed.
+pylintrc
+pylintrc.test
\ No newline at end of file
diff --git a/packages/google-cloud-python-speech/.repo-metadata.json b/packages/google-cloud-python-speech/.repo-metadata.json
index 18500b9ac8a0..15006765632f 100644
--- a/packages/google-cloud-python-speech/.repo-metadata.json
+++ b/packages/google-cloud-python-speech/.repo-metadata.json
@@ -6,7 +6,7 @@
"issue_tracker": "https://issuetracker.google.com/savedsearches/559758",
"release_level": "ga",
"language": "python",
- "repo": "googleapis/google-cloud-python",
+ "repo": "googleapis/python-speech",
"distribution_name": "google-cloud-speech",
"api_id": "speech.googleapis.com",
"requires_billing": false
diff --git a/packages/google-cloud-python-speech/CODE_OF_CONDUCT.md b/packages/google-cloud-python-speech/CODE_OF_CONDUCT.md
new file mode 100644
index 000000000000..b3d1f6029849
--- /dev/null
+++ b/packages/google-cloud-python-speech/CODE_OF_CONDUCT.md
@@ -0,0 +1,44 @@
+
+# Contributor Code of Conduct
+
+As contributors and maintainers of this project,
+and in the interest of fostering an open and welcoming community,
+we pledge to respect all people who contribute through reporting issues,
+posting feature requests, updating documentation,
+submitting pull requests or patches, and other activities.
+
+We are committed to making participation in this project
+a harassment-free experience for everyone,
+regardless of level of experience, gender, gender identity and expression,
+sexual orientation, disability, personal appearance,
+body size, race, ethnicity, age, religion, or nationality.
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery
+* Personal attacks
+* Trolling or insulting/derogatory comments
+* Public or private harassment
+* Publishing other's private information,
+such as physical or electronic
+addresses, without explicit permission
+* Other unethical or unprofessional conduct.
+
+Project maintainers have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions
+that are not aligned to this Code of Conduct.
+By adopting this Code of Conduct,
+project maintainers commit themselves to fairly and consistently
+applying these principles to every aspect of managing this project.
+Project maintainers who do not follow or enforce the Code of Conduct
+may be permanently removed from the project team.
+
+This code of conduct applies both within project spaces and in public spaces
+when an individual is representing the project or its community.
+
+Instances of abusive, harassing, or otherwise unacceptable behavior
+may be reported by opening an issue
+or contacting one or more of the project maintainers.
+
+This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0,
+available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
diff --git a/packages/google-cloud-python-speech/CONTRIBUTING.rst b/packages/google-cloud-python-speech/CONTRIBUTING.rst
new file mode 100644
index 000000000000..c37e4a6cc7d1
--- /dev/null
+++ b/packages/google-cloud-python-speech/CONTRIBUTING.rst
@@ -0,0 +1,279 @@
+.. Generated by synthtool. DO NOT EDIT!
+############
+Contributing
+############
+
+#. **Please sign one of the contributor license agreements below.**
+#. Fork the repo, develop and test your code changes, add docs.
+#. Make sure that your commit messages clearly describe the changes.
+#. Send a pull request. (Please Read: `Faster Pull Request Reviews`_)
+
+.. _Faster Pull Request Reviews: https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
+
+.. contents:: Here are some guidelines for hacking on the Google Cloud Client libraries.
+
+***************
+Adding Features
+***************
+
+In order to add a feature:
+
+- The feature must be documented in both the API and narrative
+ documentation.
+
+- The feature must work fully on the following CPython versions: 2.7,
+ 3.5, 3.6, and 3.7 on both UNIX and Windows.
+
+- The feature must not add unnecessary dependencies (where
+ "unnecessary" is of course subjective, but new dependencies should
+ be discussed).
+
+****************************
+Using a Development Checkout
+****************************
+
+You'll have to create a development environment using a Git checkout:
+
+- While logged into your GitHub account, navigate to the
+ ``python-speech`` `repo`_ on GitHub.
+
+- Fork and clone the ``python-speech`` repository to your GitHub account by
+ clicking the "Fork" button.
+
+- Clone your fork of ``python-speech`` from your GitHub account to your local
+ computer, substituting your account username and specifying the destination
+ as ``hack-on-python-speech``. E.g.::
+
+ $ cd ${HOME}
+ $ git clone git@github.com:USERNAME/python-speech.git hack-on-python-speech
+ $ cd hack-on-python-speech
+ # Configure remotes such that you can pull changes from the googleapis/python-speech
+ # repository into your local repository.
+ $ git remote add upstream git@github.com:googleapis/python-speech.git
+ # fetch and merge changes from upstream into master
+ $ git fetch upstream
+ $ git merge upstream/master
+
+Now your local repo is set up such that you will push changes to your GitHub
+repo, from which you can submit a pull request.
+
+To work on the codebase and run the tests, we recommend using ``nox``,
+but you can also use a ``virtualenv`` of your own creation.
+
+.. _repo: https://github.com/googleapis/python-speech
+
+Using ``nox``
+=============
+
+We use `nox `__ to instrument our tests.
+
+- To test your changes, run unit tests with ``nox``::
+
+ $ nox -s unit-2.7
+ $ nox -s unit-3.7
+ $ ...
+
+ .. note::
+
+ The unit tests and system tests are described in the
+ ``noxfile.py`` files in each directory.
+
+.. nox: https://pypi.org/project/nox/
+
+Note on Editable Installs / Develop Mode
+========================================
+
+- As mentioned previously, using ``setuptools`` in `develop mode`_
+ or a ``pip`` `editable install`_ is not possible with this
+ library. This is because this library uses `namespace packages`_.
+ For context see `Issue #2316`_ and the relevant `PyPA issue`_.
+
+ Since ``editable`` / ``develop`` mode can't be used, packages
+ need to be installed directly. Hence your changes to the source
+ tree don't get incorporated into the **already installed**
+ package.
+
+.. _namespace packages: https://www.python.org/dev/peps/pep-0420/
+.. _Issue #2316: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/2316
+.. _PyPA issue: https://github.com/pypa/packaging-problems/issues/12
+.. _develop mode: https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode
+.. _editable install: https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
+
+*****************************************
+I'm getting weird errors... Can you help?
+*****************************************
+
+If the error mentions ``Python.h`` not being found,
+install ``python-dev`` and try again.
+On Debian/Ubuntu::
+
+ $ sudo apt-get install python-dev
+
+************
+Coding Style
+************
+
+- PEP8 compliance, with exceptions defined in the linter configuration.
+ If you have ``nox`` installed, you can test that you have not introduced
+ any non-compliant code via::
+
+ $ nox -s lint
+
+- In order to make ``nox -s lint`` run faster, you can set some environment
+ variables::
+
+ export GOOGLE_CLOUD_TESTING_REMOTE="upstream"
+ export GOOGLE_CLOUD_TESTING_BRANCH="master"
+
+ By doing this, you are specifying the location of the most up-to-date
+ version of ``python-speech``. The the suggested remote name ``upstream``
+ should point to the official ``googleapis`` checkout and the
+ the branch should be the main branch on that remote (``master``).
+
+Exceptions to PEP8:
+
+- Many unit tests use a helper method, ``_call_fut`` ("FUT" is short for
+ "Function-Under-Test"), which is PEP8-incompliant, but more readable.
+ Some also use a local variable, ``MUT`` (short for "Module-Under-Test").
+
+********************
+Running System Tests
+********************
+
+- To run system tests, you can execute::
+
+ $ nox -s system-3.7
+ $ nox -s system-2.7
+
+ .. note::
+
+ System tests are only configured to run under Python 2.7 and
+ Python 3.7. For expediency, we do not run them in older versions
+ of Python 3.
+
+ This alone will not run the tests. You'll need to change some local
+ auth settings and change some configuration in your project to
+ run all the tests.
+
+- System tests will be run against an actual project and
+ so you'll need to provide some environment variables to facilitate
+ authentication to your project:
+
+ - ``GOOGLE_APPLICATION_CREDENTIALS``: The path to a JSON key file;
+ Such a file can be downloaded directly from the developer's console by clicking
+ "Generate new JSON key". See private key
+ `docs `__
+ for more details.
+
+- Once you have downloaded your json keys, set the environment variable
+ ``GOOGLE_APPLICATION_CREDENTIALS`` to the absolute path of the json file::
+
+ $ export GOOGLE_APPLICATION_CREDENTIALS="/Users//path/to/app_credentials.json"
+
+
+*************
+Test Coverage
+*************
+
+- The codebase *must* have 100% test statement coverage after each commit.
+ You can test coverage via ``nox -s cover``.
+
+******************************************************
+Documentation Coverage and Building HTML Documentation
+******************************************************
+
+If you fix a bug, and the bug requires an API or behavior modification, all
+documentation in this package which references that API or behavior must be
+changed to reflect the bug fix, ideally in the same commit that fixes the bug
+or adds the feature.
+
+Build the docs via:
+
+ $ nox -s docs
+
+********************************************
+Note About ``README`` as it pertains to PyPI
+********************************************
+
+The `description on PyPI`_ for the project comes directly from the
+``README``. Due to the reStructuredText (``rst``) parser used by
+PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
+instead of
+``https://github.com/googleapis/python-speech/blob/master/CONTRIBUTING.rst``)
+may cause problems creating links or rendering the description.
+
+.. _description on PyPI: https://pypi.org/project/google-cloud-speech
+
+
+*************************
+Supported Python Versions
+*************************
+
+We support:
+
+- `Python 3.5`_
+- `Python 3.6`_
+- `Python 3.7`_
+
+.. _Python 3.5: https://docs.python.org/3.5/
+.. _Python 3.6: https://docs.python.org/3.6/
+.. _Python 3.7: https://docs.python.org/3.7/
+
+
+Supported versions can be found in our ``noxfile.py`` `config`_.
+
+.. _config: https://github.com/googleapis/python-speech/blob/master/noxfile.py
+
+We explicitly decided not to support `Python 2.5`_ due to `decreased usage`_
+and lack of continuous integration `support`_.
+
+.. _Python 2.5: https://docs.python.org/2.5/
+.. _decreased usage: https://caremad.io/2013/10/a-look-at-pypi-downloads/
+.. _support: https://blog.travis-ci.com/2013-11-18-upcoming-build-environment-updates/
+
+We have `dropped 2.6`_ as a supported version as well since Python 2.6 is no
+longer supported by the core development team.
+
+Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020.
+
+We also explicitly decided to support Python 3 beginning with version
+3.5. Reasons for this include:
+
+- Encouraging use of newest versions of Python 3
+- Taking the lead of `prominent`_ open-source `projects`_
+- `Unicode literal support`_ which allows for a cleaner codebase that
+ works in both Python 2 and Python 3
+
+.. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django
+.. _projects: http://flask.pocoo.org/docs/0.10/python3/
+.. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/
+.. _dropped 2.6: https://github.com/googleapis/google-cloud-python/issues/995
+
+**********
+Versioning
+**********
+
+This library follows `Semantic Versioning`_.
+
+.. _Semantic Versioning: http://semver.org/
+
+Some packages are currently in major version zero (``0.y.z``), which means that
+anything may change at any time and the public API should not be considered
+stable.
+
+******************************
+Contributor License Agreements
+******************************
+
+Before we can accept your pull requests you'll need to sign a Contributor
+License Agreement (CLA):
+
+- **If you are an individual writing original source code** and **you own the
+ intellectual property**, then you'll need to sign an
+ `individual CLA `__.
+- **If you work for a company that wants to allow you to contribute your work**,
+ then you'll need to sign a
+ `corporate CLA `__.
+
+You can sign these electronically (just scroll to the bottom). After that,
+we'll be able to accept your pull requests.
diff --git a/packages/google-cloud-python-speech/MANIFEST.in b/packages/google-cloud-python-speech/MANIFEST.in
index 9cbf175afe6b..cd011be27a0e 100644
--- a/packages/google-cloud-python-speech/MANIFEST.in
+++ b/packages/google-cloud-python-speech/MANIFEST.in
@@ -1,3 +1,4 @@
+# Generated by synthtool. DO NOT EDIT!
include README.rst LICENSE
recursive-include google *.json *.proto
recursive-include tests *
diff --git a/packages/google-cloud-python-speech/docs/conf.py b/packages/google-cloud-python-speech/docs/conf.py
index 75ca066ef747..be3e6aa62a9e 100644
--- a/packages/google-cloud-python-speech/docs/conf.py
+++ b/packages/google-cloud-python-speech/docs/conf.py
@@ -20,7 +20,7 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(".."))
-__version__ = "0.1.0"
+__version__ = ""
# -- General configuration ------------------------------------------------
@@ -45,6 +45,7 @@
autodoc_default_flags = ["members"]
autosummary_generate = True
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
@@ -65,7 +66,7 @@
# General information about the project.
project = u"google-cloud-speech"
-copyright = u"2017, Google"
+copyright = u"2019, Google"
author = u"Google APIs"
# The version info for the project you're documenting, acts as replacement for
@@ -121,6 +122,7 @@
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True
+
# -- Options for HTML output ----------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
@@ -131,9 +133,9 @@
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
- "description": "Google Cloud Client Libraries for Python",
+ "description": "Google Cloud Client Libraries for google-cloud-speech",
"github_user": "googleapis",
- "github_repo": "google-cloud-python",
+ "github_repo": "python-speech",
"github_banner": True,
"font_family": "'Roboto', Georgia, sans",
"head_font_family": "'Roboto', Georgia, serif",
@@ -229,6 +231,7 @@
# -- Options for warnings ------------------------------------------------------
+
suppress_warnings = [
# Temporarily suppress this to avoid "more than one target found for
# cross-reference" warning, which are intractable for us to avoid while in
@@ -284,6 +287,7 @@
# If false, no module index is generated.
# latex_domain_indices = True
+
# -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples
@@ -301,6 +305,7 @@
# If true, show URL addresses after external links.
# man_show_urls = False
+
# -- Options for Texinfo output -------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
@@ -313,7 +318,7 @@
u"google-cloud-speech Documentation",
author,
"google-cloud-speech",
- "GAPIC library for the {metadata.shortName} v1 service",
+ "google-cloud-speech Library",
"APIs",
)
]
@@ -330,19 +335,16 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False
+
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
"python": ("http://python.readthedocs.org/en/latest/", None),
- "gax": ("https://gax-python.readthedocs.org/en/latest/", None),
"google-auth": ("https://google-auth.readthedocs.io/en/stable", None),
- "google-gax": ("https://gax-python.readthedocs.io/en/latest/", None),
- "google.api_core": ("https://googleapis.dev/python/google-api-core/latest", None),
+ "google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None),
"grpc": ("https://grpc.io/grpc/python/", None),
- "requests": ("https://requests.kennethreitz.org/en/stable/", None),
- "fastavro": ("https://fastavro.readthedocs.io/en/stable/", None),
- "pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
}
+
# Napoleon settings
napoleon_google_docstring = True
napoleon_numpy_docstring = True
diff --git a/packages/google-cloud-python-speech/noxfile.py b/packages/google-cloud-python-speech/noxfile.py
index 9bc787f5ac16..4cbae3caffc4 100644
--- a/packages/google-cloud-python-speech/noxfile.py
+++ b/packages/google-cloud-python-speech/noxfile.py
@@ -23,7 +23,6 @@
import nox
-LOCAL_DEPS = (os.path.join("..", "api_core"), os.path.join("..", "core"))
BLACK_VERSION = "black==19.3b0"
BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
@@ -38,7 +37,7 @@ def lint(session):
Returns a failure if the linters find linting errors or sufficiently
serious code quality issues.
"""
- session.install("flake8", BLACK_VERSION, *LOCAL_DEPS)
+ session.install("flake8", BLACK_VERSION)
session.run("black", "--check", *BLACK_PATHS)
session.run("flake8", "google", "tests")
@@ -67,8 +66,6 @@ def lint_setup_py(session):
def default(session):
# Install all test dependencies, then install this package in-place.
session.install("mock", "pytest", "pytest-cov")
- for local_dep in LOCAL_DEPS:
- session.install("-e", local_dep)
session.install("-e", ".")
# Run py.test against the unit tests.
@@ -86,7 +83,7 @@ def default(session):
)
-@nox.session(python=["2.7", "3.5", "3.6", "3.7"])
+@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8"])
def unit(session):
"""Run the unit test suite."""
default(session)
@@ -113,9 +110,7 @@ def system(session):
# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install("mock", "pytest")
- for local_dep in LOCAL_DEPS:
- session.install("-e", local_dep)
- session.install("-e", "../test_utils/")
+
session.install("-e", ".")
# Run py.test against the system tests.
@@ -138,8 +133,6 @@ def samples(session):
session.install("pyyaml")
session.install("sample-tester")
- for local_dep in LOCAL_DEPS:
- session.install("-e", local_dep)
session.install("-e", ".")
session.run("sample-tester", samples_path, *session.posargs)
@@ -153,7 +146,7 @@ def cover(session):
test runs (not system test runs), and then erases coverage data.
"""
session.install("coverage", "pytest-cov")
- session.run("coverage", "report", "--show-missing", "--fail-under=100")
+ session.run("coverage", "report", "--show-missing", "--fail-under=87")
session.run("coverage", "erase")
diff --git a/packages/google-cloud-python-speech/renovate.json b/packages/google-cloud-python-speech/renovate.json
new file mode 100644
index 000000000000..4fa949311b20
--- /dev/null
+++ b/packages/google-cloud-python-speech/renovate.json
@@ -0,0 +1,5 @@
+{
+ "extends": [
+ "config:base", ":preserveSemverRanges"
+ ]
+}
diff --git a/packages/google-cloud-python-speech/setup.py b/packages/google-cloud-python-speech/setup.py
index 47294157307b..fd47a7c50a80 100644
--- a/packages/google-cloud-python-speech/setup.py
+++ b/packages/google-cloud-python-speech/setup.py
@@ -60,7 +60,7 @@
author="Google LLC",
author_email="googleapis-packages@google.com",
license="Apache 2.0",
- url="https://github.com/GoogleCloudPlatform/google-cloud-python",
+ url="https://github.com/googleapis/python-speech",
classifiers=[
release_status,
"Intended Audience :: Developers",
diff --git a/packages/google-cloud-python-speech/synth.metadata b/packages/google-cloud-python-speech/synth.metadata
index 200cab54ff6c..183eecb3f01b 100644
--- a/packages/google-cloud-python-speech/synth.metadata
+++ b/packages/google-cloud-python-speech/synth.metadata
@@ -1,5 +1,5 @@
{
- "updateTime": "2020-01-30T13:38:36.062840Z",
+ "updateTime": "2020-02-03T22:57:22.365987Z",
"sources": [
{
"generator": {
@@ -12,14 +12,13 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "c1246a29e22b0f98e800a536b5b0da2d933a55f2",
- "internalRef": "292310790",
- "log": "c1246a29e22b0f98e800a536b5b0da2d933a55f2\nUpdating v1 protos with the latest inline documentation (in comments) and config options. Also adding a per-service .yaml file.\n\nPiperOrigin-RevId: 292310790\n\nb491d07cadaae7cde5608321f913e5ca1459b32d\nRevert accidental local_repository change\n\nPiperOrigin-RevId: 292245373\n\naf3400a8cb6110025198b59a0f7d018ae3cda700\nUpdate gapic-generator dependency (prebuilt PHP binary support).\n\nPiperOrigin-RevId: 292243997\n\n341fd5690fae36f36cf626ef048fbcf4bbe7cee6\ngrafeas: v1 add resource_definition for the grafeas.io/Project and change references for Project.\n\nPiperOrigin-RevId: 292221998\n\n42e915ec2ece1cd37a590fbcd10aa2c0fb0e5b06\nUpdate the gapic-generator, protoc-java-resource-name-plugin and protoc-docs-plugin to the latest commit.\n\nPiperOrigin-RevId: 292182368\n\nf035f47250675d31492a09f4a7586cfa395520a7\nFix grafeas build and update build.sh script to include gerafeas.\n\nPiperOrigin-RevId: 292168753\n\n26ccb214b7bc4a716032a6266bcb0a9ca55d6dbb\nasset: v1p1beta1 add client config annotations and retry config\n\nPiperOrigin-RevId: 292154210\n\n974ee5c0b5d03e81a50dafcedf41e0efebb5b749\nasset: v1beta1 add client config annotations\n\nPiperOrigin-RevId: 292152573\n\n"
+ "sha": "29d40b78e3dc1579b0b209463fbcb76e5767f72a",
+ "internalRef": "292979741"
}
},
{
"template": {
- "name": "python_library",
+ "name": "python_split_library",
"origin": "synthtool.gcp",
"version": "2019.10.17"
}
@@ -46,316 +45,5 @@
"config": "google/cloud/speech/artman_speech_v1.yaml"
}
}
- ],
- "newFiles": [
- {
- "path": ".coveragerc"
- },
- {
- "path": ".flake8"
- },
- {
- "path": ".repo-metadata.json"
- },
- {
- "path": "CHANGELOG.md"
- },
- {
- "path": "LICENSE"
- },
- {
- "path": "MANIFEST.in"
- },
- {
- "path": "README.rst"
- },
- {
- "path": "docs/README.rst"
- },
- {
- "path": "docs/_static/custom.css"
- },
- {
- "path": "docs/_templates/layout.html"
- },
- {
- "path": "docs/changelog.md"
- },
- {
- "path": "docs/conf.py"
- },
- {
- "path": "docs/gapic/v1/api.rst"
- },
- {
- "path": "docs/gapic/v1/types.rst"
- },
- {
- "path": "docs/gapic/v1p1beta1/api.rst"
- },
- {
- "path": "docs/gapic/v1p1beta1/types.rst"
- },
- {
- "path": "docs/index.rst"
- },
- {
- "path": "google/__init__.py"
- },
- {
- "path": "google/cloud/__init__.py"
- },
- {
- "path": "google/cloud/speech.py"
- },
- {
- "path": "google/cloud/speech_v1/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1/gapic/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1/gapic/enums.py"
- },
- {
- "path": "google/cloud/speech_v1/gapic/speech_client.py"
- },
- {
- "path": "google/cloud/speech_v1/gapic/speech_client_config.py"
- },
- {
- "path": "google/cloud/speech_v1/gapic/transports/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1/gapic/transports/speech_grpc_transport.py"
- },
- {
- "path": "google/cloud/speech_v1/helpers.py"
- },
- {
- "path": "google/cloud/speech_v1/proto/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1/proto/cloud_speech.proto"
- },
- {
- "path": "google/cloud/speech_v1/proto/cloud_speech_pb2.py"
- },
- {
- "path": "google/cloud/speech_v1/proto/cloud_speech_pb2_grpc.py"
- },
- {
- "path": "google/cloud/speech_v1/types.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/gapic/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/gapic/enums.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/gapic/speech_client.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/gapic/speech_client_config.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/gapic/transports/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/gapic/transports/speech_grpc_transport.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/proto/__init__.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/proto/cloud_speech.proto"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2_grpc.py"
- },
- {
- "path": "google/cloud/speech_v1p1beta1/types.py"
- },
- {
- "path": "noxfile.py"
- },
- {
- "path": "pylint.config.py"
- },
- {
- "path": "samples/resources/brooklyn_bridge.flac"
- },
- {
- "path": "samples/resources/brooklyn_bridge.mp3"
- },
- {
- "path": "samples/resources/brooklyn_bridge.raw"
- },
- {
- "path": "samples/resources/brooklyn_bridge.wav"
- },
- {
- "path": "samples/resources/commercial_mono.wav"
- },
- {
- "path": "samples/resources/hello.raw"
- },
- {
- "path": "samples/resources/hello.wav"
- },
- {
- "path": "samples/resources/multi.flac"
- },
- {
- "path": "samples/resources/multi.wav"
- },
- {
- "path": "samples/v1/speech_transcribe_async.py"
- },
- {
- "path": "samples/v1/speech_transcribe_async_gcs.py"
- },
- {
- "path": "samples/v1/speech_transcribe_async_word_time_offsets_gcs.py"
- },
- {
- "path": "samples/v1/speech_transcribe_enhanced_model.py"
- },
- {
- "path": "samples/v1/speech_transcribe_model_selection.py"
- },
- {
- "path": "samples/v1/speech_transcribe_model_selection_gcs.py"
- },
- {
- "path": "samples/v1/speech_transcribe_multichannel.py"
- },
- {
- "path": "samples/v1/speech_transcribe_multichannel_gcs.py"
- },
- {
- "path": "samples/v1/speech_transcribe_sync.py"
- },
- {
- "path": "samples/v1/speech_transcribe_sync_gcs.py"
- },
- {
- "path": "samples/v1/test/samples.manifest.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_async.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_async_gcs.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_async_word_time_offsets_gcs.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_enhanced_model.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_model_selection.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_model_selection_gcs.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_multichannel.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_multichannel_gcs.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_sync.test.yaml"
- },
- {
- "path": "samples/v1/test/speech_transcribe_sync_gcs.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/speech_adaptation_beta.py"
- },
- {
- "path": "samples/v1p1beta1/speech_contexts_classes_beta.py"
- },
- {
- "path": "samples/v1p1beta1/speech_quickstart_beta.py"
- },
- {
- "path": "samples/v1p1beta1/speech_transcribe_auto_punctuation_beta.py"
- },
- {
- "path": "samples/v1p1beta1/speech_transcribe_diarization_beta.py"
- },
- {
- "path": "samples/v1p1beta1/speech_transcribe_multilanguage_beta.py"
- },
- {
- "path": "samples/v1p1beta1/speech_transcribe_recognition_metadata_beta.py"
- },
- {
- "path": "samples/v1p1beta1/speech_transcribe_word_level_confidence_beta.py"
- },
- {
- "path": "samples/v1p1beta1/test/samples.manifest.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_adaptation_beta.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_contexts_classes_beta.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_quickstart_beta.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_transcribe_auto_punctuation_beta.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_transcribe_diarization_beta.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_transcribe_multilanguage_beta.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_transcribe_recognition_metadata_beta.test.yaml"
- },
- {
- "path": "samples/v1p1beta1/test/speech_transcribe_word_level_confidence_beta.test.yaml"
- },
- {
- "path": "setup.cfg"
- },
- {
- "path": "setup.py"
- },
- {
- "path": "synth.metadata"
- },
- {
- "path": "synth.py"
- },
- {
- "path": "tests/system/gapic/v1/test_system_speech_v1.py"
- },
- {
- "path": "tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py"
- },
- {
- "path": "tests/unit/gapic/v1/test_speech_client_v1.py"
- },
- {
- "path": "tests/unit/gapic/v1p1beta1/test_speech_client_v1p1beta1.py"
- },
- {
- "path": "tests/unit/test_helpers.py"
- }
]
}
\ No newline at end of file
diff --git a/packages/google-cloud-python-speech/synth.py b/packages/google-cloud-python-speech/synth.py
index c812ed261ef2..7453397465f1 100644
--- a/packages/google-cloud-python-speech/synth.py
+++ b/packages/google-cloud-python-speech/synth.py
@@ -60,7 +60,7 @@
# ----------------------------------------------------------------------------
# Add templated files
# ----------------------------------------------------------------------------
-templated_files = common.py_library(unit_cov_level=97, cov_level=100)
-s.move(templated_files, excludes=["noxfile.py"])
+templated_files = common.py_library(cov_level=87, include_samples=True)
+s.move(templated_files)
s.shell.run(["nox", "-s", "blacken"], hide_output=False)