Skip to content

Commit e2ac824

Browse files
chore: delete owlbot.py (#58)
* chore: delete owlbot.py * use .coveragerc from microgenerator * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * test: increase code coverage Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 0026edb commit e2ac824

File tree

6 files changed

+15
-73
lines changed

6 files changed

+15
-73
lines changed
Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,17 @@
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-
17-
# Generated by synthtool. DO NOT EDIT!
181
[run]
192
branch = True
20-
omit =
21-
google/cloud/__init__.py
223

234
[report]
24-
fail_under = 97
255
show_missing = True
6+
omit =
7+
google/cloud/privatecatalog/__init__.py
268
exclude_lines =
279
# Re-enable the standard pragma
2810
pragma: NO COVER
2911
# Ignore debug-only repr
3012
def __repr__
31-
# Ignore abstract methods
32-
raise NotImplementedError
33-
omit =
34-
*/gapic/*.py
35-
*/proto/*.py
36-
*/core/*.py
37-
*/site-packages/*.py
38-
google/cloud/__init__.py
13+
# Ignore pkg_resources exceptions.
14+
# This is added at the module level as a safeguard for if someone
15+
# generates the code and tries to run it without pip installing. This
16+
# makes it virtually impossible to test properly.
17+
except pkg_resources.DistributionNotFound
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
3-
digest: sha256:58f73ba196b5414782605236dd0712a73541b44ff2ff4d3a36ec41092dd6fa5b
3+
digest: sha256:3728d8fd14daa46a96d04ce61c6451a3ac864dc48fb71eecbb4411f4a95618d4

packages/google-cloud-private-catalog/docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.. include:: multiprocessing.rst
44

5+
56
API Reference
67
-------------
78
.. toctree::
@@ -18,4 +19,4 @@ For a list of all ``google-cloud-private-catalog`` releases:
1819
.. toctree::
1920
:maxdepth: 2
2021

21-
changelog
22+
changelog

packages/google-cloud-private-catalog/noxfile.py

Lines changed: 1 addition & 1 deletion
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=97")
178+
session.run("coverage", "report", "--show-missing", "--fail-under=100")
179179

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

packages/google-cloud-private-catalog/owlbot.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

packages/google-cloud-private-catalog/testing/constraints-3.6.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
# Then this file should have google-cloud-foo==1.14.0
77
google-api-core==1.26.0
88
proto-plus==1.15.0
9-
packaging==14.3
9+
packaging==14.3
10+
# TODO: remove once google-auth>=1.25.0 is required transitively
11+
# through google-api-core>=1.28.0
12+
google-auth==1.24.0

0 commit comments

Comments
 (0)