Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit f7e979c

Browse files
chore(v1): release 1.0.4 (#270)
* chore(v1): release 1.0.4 * chore: format Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <busunkim@google.com>
1 parent 8cbbed6 commit f7e979c

File tree

5 files changed

+41
-17
lines changed

5 files changed

+41
-17
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
### [1.0.4](https://github.com/googleapis/python-containeranalysis/compare/v1.0.3...v1.0.4) (2022-04-04)
4+
5+
6+
### Bug Fixes
7+
8+
* **deps:** require google-api-core >= 1.31.5, >= 2.3.2 on v1 release ([#260](https://github.com/googleapis/python-containeranalysis/issues/260)) ([be6fb87](https://github.com/googleapis/python-containeranalysis/commit/be6fb87d6d3e00d798b37dc89324ca88d3da6107))
9+
310
### [1.0.3](https://www.github.com/googleapis/python-containeranalysis/compare/v1.0.2...v1.0.3) (2020-08-11)
411

512

docs/conf.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666
master_doc = "index"
6767

6868
# General information about the project.
69-
project = u"google-cloud-containeranalysis"
70-
copyright = u"2019, Google"
71-
author = u"Google APIs"
69+
project = "google-cloud-containeranalysis"
70+
copyright = "2019, Google"
71+
author = "Google APIs"
7272

7373
# The version info for the project you're documenting, acts as replacement for
7474
# |version| and |release|, also used in various other places throughout the
@@ -267,7 +267,7 @@
267267
(
268268
master_doc,
269269
"google-cloud-containeranalysis.tex",
270-
u"google-cloud-containeranalysis Documentation",
270+
"google-cloud-containeranalysis Documentation",
271271
author,
272272
"manual",
273273
)
@@ -302,7 +302,7 @@
302302
(
303303
master_doc,
304304
"google-cloud-containeranalysis",
305-
u"google-cloud-containeranalysis Documentation",
305+
"google-cloud-containeranalysis Documentation",
306306
[author],
307307
1,
308308
)
@@ -321,7 +321,7 @@
321321
(
322322
master_doc,
323323
"google-cloud-containeranalysis",
324-
u"google-cloud-containeranalysis Documentation",
324+
"google-cloud-containeranalysis Documentation",
325325
author,
326326
"google-cloud-containeranalysis",
327327
"google-cloud-containeranalysis Library",
@@ -346,7 +346,10 @@
346346
intersphinx_mapping = {
347347
"python": ("http://python.readthedocs.org/en/latest/", None),
348348
"google-auth": ("https://google-auth.readthedocs.io/en/stable", None),
349-
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
349+
"google.api_core": (
350+
"https://googleapis.dev/python/google-api-core/latest/",
351+
None,
352+
),
350353
"grpc": ("https://grpc.io/grpc/python/", None),
351354
}
352355

google/cloud/devtools/containeranalysis_v1/gapic/container_analysis_client.py

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,12 @@ def __init__(
179179
)
180180
self.transport = transport
181181
else:
182-
self.transport = container_analysis_grpc_transport.ContainerAnalysisGrpcTransport(
183-
address=api_endpoint, channel=channel, credentials=credentials,
182+
self.transport = (
183+
container_analysis_grpc_transport.ContainerAnalysisGrpcTransport(
184+
address=api_endpoint,
185+
channel=channel,
186+
credentials=credentials,
187+
)
184188
)
185189

186190
if client_info is None:
@@ -289,7 +293,10 @@ def set_iam_policy(
289293
client_info=self._client_info,
290294
)
291295

292-
request = iam_policy_pb2.SetIamPolicyRequest(resource=resource, policy=policy,)
296+
request = iam_policy_pb2.SetIamPolicyRequest(
297+
resource=resource,
298+
policy=policy,
299+
)
293300
if metadata is None:
294301
metadata = []
295302
metadata = list(metadata)
@@ -374,7 +381,8 @@ def get_iam_policy(
374381
)
375382

376383
request = iam_policy_pb2.GetIamPolicyRequest(
377-
resource=resource, options=options_,
384+
resource=resource,
385+
options=options_,
378386
)
379387
if metadata is None:
380388
metadata = []
@@ -461,7 +469,8 @@ def test_iam_permissions(
461469
)
462470

463471
request = iam_policy_pb2.TestIamPermissionsRequest(
464-
resource=resource, permissions=permissions,
472+
resource=resource,
473+
permissions=permissions,
465474
)
466475
if metadata is None:
467476
metadata = []

noxfile.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import nox
2424

2525

26-
BLACK_VERSION = "black==19.10b0"
26+
BLACK_VERSION = "black==22.3.0"
2727
BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
2828

2929
DEFAULT_PYTHON_VERSION = "3.8"
@@ -40,7 +40,9 @@ def lint(session):
4040
"""
4141
session.install("flake8", BLACK_VERSION)
4242
session.run(
43-
"black", "--check", *BLACK_PATHS,
43+
"black",
44+
"--check",
45+
*BLACK_PATHS,
4446
)
4547
session.run("flake8", "google", "tests")
4648

@@ -57,7 +59,8 @@ def blacken(session):
5759
"""
5860
session.install(BLACK_VERSION)
5961
session.run(
60-
"black", *BLACK_PATHS,
62+
"black",
63+
*BLACK_PATHS,
6164
)
6265

6366

@@ -120,7 +123,9 @@ def system(session):
120123
# Install all test dependencies, then install this package into the
121124
# virtualenv's dist-packages.
122125
session.install(
123-
"mock", "pytest", "google-cloud-testutils",
126+
"mock",
127+
"pytest",
128+
"google-cloud-testutils",
124129
)
125130
session.install("-e", ".")
126131

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
name = "google-cloud-containeranalysis"
2424
description = "Container Analysis API API client library"
25-
version = "1.0.3"
25+
version = "1.0.4"
2626
release_status = "Development Status :: 5 - Production/Stable"
2727
dependencies = [
2828
"google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",

0 commit comments

Comments
 (0)