Skip to content

Commit 7f9d024

Browse files
authored
Blacken (via synth). (googleapis#8285)
Supersedes googleapis#8280 and googleapis#8292.
1 parent 786677f commit 7f9d024

File tree

9 files changed

+18
-9
lines changed

9 files changed

+18
-9
lines changed

container/google/cloud/container_v1/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
1718
from __future__ import absolute_import
1819

1920
from google.cloud.container_v1 import types

container/google/cloud/container_v1/gapic/cluster_manager_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
"""Accesses the google.container.v1 ClusterManager API."""
1718

1819
import pkg_resources
@@ -33,6 +34,7 @@
3334
from google.cloud.container_v1.proto import cluster_service_pb2_grpc
3435
from google.protobuf import empty_pb2
3536

37+
3638
_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution(
3739
"google-cloud-container"
3840
).version

container/google/cloud/container_v1/gapic/enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
"""Wrappers for protocol buffer enum types."""
1718

1819
import enum

container/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
1718
import google.api_core.grpc_helpers
1819

1920
from google.cloud.container_v1.proto import cluster_service_pb2_grpc

container/google/cloud/container_v1/types.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
1718
from __future__ import absolute_import
1819
import sys
1920

@@ -22,13 +23,14 @@
2223
from google.cloud.container_v1.proto import cluster_service_pb2
2324
from google.protobuf import empty_pb2
2425

26+
2527
_shared_modules = [empty_pb2]
2628

2729
_local_modules = [cluster_service_pb2]
2830

2931
names = []
3032

31-
for module in _shared_modules:
33+
for module in _shared_modules: # pragma: NO COVER
3234
for name, message in get_messages(module).items():
3335
setattr(sys.modules[__name__], name, message)
3436
names.append(name)
@@ -38,4 +40,5 @@
3840
setattr(sys.modules[__name__], name, message)
3941
names.append(name)
4042

43+
4144
__all__ = tuple(sorted(names))

container/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def default(session):
8383
"--cov-append",
8484
"--cov-config=.coveragerc",
8585
"--cov-report=",
86-
"--cov-fail-under=75",
86+
"--cov-fail-under=0",
8787
os.path.join("tests", "unit"),
8888
*session.posargs,
8989
)
@@ -136,7 +136,7 @@ def cover(session):
136136
test runs (not system test runs), and then erases coverage data.
137137
"""
138138
session.install("coverage", "pytest-cov")
139-
session.run("coverage", "report", "--show-missing", "--fail-under=75")
139+
session.run("coverage", "report", "--show-missing", "--fail-under=70")
140140

141141
session.run("coverage", "erase")
142142

container/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-05-10T12:16:09.524983Z",
2+
"updateTime": "2019-06-11T15:58:37.501004Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.19.0",
8-
"dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e"
7+
"version": "0.24.0",
8+
"dockerImage": "googleapis/artman@sha256:ce425884865f57f18307e597bca1a74a3619b7098688d4995261f3ffb3488681"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "07883be5bf3c3233095e99d8e92b8094f5d7084a",
16-
"internalRef": "247530843"
15+
"sha": "744feb9660b3194fcde37dea50038bde204f3573",
16+
"internalRef": "252553801"
1717
}
1818
},
1919
{

container/synth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
# ----------------------------------------------------------------------------
5757
# Add templated files
5858
# ----------------------------------------------------------------------------
59-
templated_files = common.py_library(unit_cov_level=76, cov_level=77)
59+
templated_files = common.py_library(unit_cov_level=0, cov_level=70)
6060
s.move(templated_files)
6161

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

container/tests/unit/gapic/v1/test_cluster_manager_client_v1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
"""Unit tests."""
1718

1819
import mock

0 commit comments

Comments
 (0)