Skip to content

Commit a7c9a4a

Browse files
chore: use templated .coveragerc (#144)
* chore: use gapic-generator-python 0.58.1 fix: syntax fix for required_fields struct in rest transport committer: parthea PiperOrigin-RevId: 415363977 Source-Link: googleapis/googleapis@987192d Source-Link: googleapis/googleapis-gen@5144432 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTE0NDQzMjRlYjk5ZjE1NTNkN2M3ZjgyNzdjZjU5NWE3MjBlNjkwNSJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 146d111 commit a7c9a4a

1 file changed

Lines changed: 7 additions & 29 deletions

File tree

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +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/__init__.py
22-
google/cloud/__init__.py
233

244
[report]
25-
fail_under = 98
265
show_missing = True
6+
omit =
7+
google/cloud/resourcemanager/__init__.py
278
exclude_lines =
289
# Re-enable the standard pragma
2910
pragma: NO COVER
3011
# Ignore debug-only repr
3112
def __repr__
32-
# Ignore abstract methods
33-
raise NotImplementedError
34-
omit =
35-
*/gapic/*.py
36-
*/proto/*.py
37-
*/core/*.py
38-
*/site-packages/*.py
39-
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

0 commit comments

Comments
 (0)