Skip to content

Commit 7dfdb86

Browse files
chore: delete owlbot.py (googleapis#168)
* chore: delete owlbot.py * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * run owlbot cli locally Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 98f13ef commit 7dfdb86

File tree

11 files changed

+31
-207
lines changed

11 files changed

+31
-207
lines changed
Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,7 @@
1-
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
16-
171
[run]
182
branch = True
193

204
[report]
21-
fail_under = 100
225
show_missing = True
236
omit =
247
google/cloud/container/__init__.py
@@ -31,4 +14,4 @@ exclude_lines =
3114
# This is added at the module level as a safeguard for if someone
3215
# generates the code and tries to run it without pip installing. This
3316
# makes it virtually impossible to test properly.
34-
except pkg_resources.DistributionNotFound
17+
except pkg_resources.DistributionNotFound

packages/google-cloud-container/docs/index.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,36 @@
22

33
.. include:: multiprocessing.rst
44

5-
API Reference
6-
-------------
5+
This package includes clients for multiple versions of Kubernetes Engine.
6+
By default, you will get version ``container_v1``.
77

8-
v1
8+
9+
API Reference
910
-------------
1011
.. toctree::
1112
:maxdepth: 2
1213

1314
container_v1/services
1415
container_v1/types
1516

16-
v1beta1
17+
API Reference
1718
-------------
1819
.. toctree::
1920
:maxdepth: 2
2021

2122
container_v1beta1/services
2223
container_v1beta1/types
2324

25+
2426
Migration Guide
2527
---------------
2628

27-
See the guide below for instructions on migrating to the 2.x release of this library.
29+
See the guide below for instructions on migrating to the latest version.
2830

2931
.. toctree::
3032
:maxdepth: 2
3133

32-
UPGRADING
34+
 UPGRADING
3335

3436

3537
Changelog
@@ -38,6 +40,6 @@ Changelog
3840
For a list of all ``google-cloud-container`` releases:
3941

4042
.. toctree::
41-
:maxdepth: 2
43+
:maxdepth: 2
4244

43-
changelog
45+
changelog
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Marker file for PEP 561.
2-
# The google-container package uses inline types.
2+
# The google-cloud-container package uses inline types.

packages/google-cloud-container/google/cloud/container_v1/gapic_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
33
"language": "python",
4-
"libraryPackage": "google.container_v1",
4+
"libraryPackage": "google.cloud.container_v1",
55
"protoPackage": "google.container.v1",
66
"schema": "1.0",
77
"services": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Marker file for PEP 561.
2-
# The google-container package uses inline types.
2+
# The google-cloud-container package uses inline types.

packages/google-cloud-container/google/cloud/container_v1beta1/gapic_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
33
"language": "python",
4-
"libraryPackage": "google.container_v1beta1",
4+
"libraryPackage": "google.cloud.container_v1beta1",
55
"protoPackage": "google.container.v1beta1",
66
"schema": "1.0",
77
"services": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Marker file for PEP 561.
2-
# The google-container package uses inline types.
2+
# The google-cloud-container package uses inline types.

packages/google-cloud-container/google/cloud/container_v1beta1/types/cluster_service.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,17 @@ class NodeKubeletConfig(proto.Message):
215215
216216
Attributes:
217217
cpu_manager_policy (str):
218-
Control the CPU management policy on the
219-
node. See
220-
https://kubernetes.io/docs/tasks/administer-
221-
cluster/cpu-management-policies/
218+
Control the CPU management policy on the node. See
219+
https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
220+
222221
The following values are allowed.
223-
- "none": the default, which represents the
224-
existing scheduling behavior. - "static":
225-
allows pods with certain resource
226-
characteristics to be granted
227-
increased CPU affinity and exclusivity on the
228-
node. The default value is 'none' if
229-
unspecified.
222+
223+
- "none": the default, which represents the existing
224+
scheduling behavior.
225+
- "static": allows pods with certain resource
226+
characteristics to be granted increased CPU affinity and
227+
exclusivity on the node. The default value is 'none' if
228+
unspecified.
230229
cpu_cfs_quota (google.protobuf.wrappers_pb2.BoolValue):
231230
Enable CPU CFS quota enforcement for
232231
containers that specify CPU limits.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[mypy]
2+
python_version = 3.6
3+
namespace_packages = True

packages/google-cloud-container/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def cover(session):
175175
test runs (not system test runs), and then erases coverage data.
176176
"""
177177
session.install("coverage", "pytest-cov")
178-
session.run("coverage", "report", "--show-missing", "--fail-under=99")
178+
session.run("coverage", "report", "--show-missing", "--fail-under=100")
179179

180180
session.run("coverage", "erase")
181181

@@ -190,7 +190,7 @@ def docs(session):
190190
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
191191
session.run(
192192
"sphinx-build",
193-
# "-W", # warnings as errors
193+
"-W", # warnings as errors
194194
"-T", # show full traceback on exception
195195
"-N", # no colors
196196
"-b",

0 commit comments

Comments
 (0)