Skip to content

Commit c44cd69

Browse files
chore(python): omit google/__init__.py in coverage (#483)
Source-Link: googleapis/synthtool@694118b Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ec49167c606648a063d1222220b48119c912562849a0528f35bfb592a9f72737 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 18b8277 commit c44cd69

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

packages/google-cloud-firestore/.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
[run]
1919
branch = True
2020
omit =
21+
google/__init__.py
2122
google/cloud/__init__.py
2223

2324
[report]
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:424d88d5d08ddd955782a4359559dc536e658db1a77416c9a4fff79df9519ad2
3+
digest: sha256:ec49167c606648a063d1222220b48119c912562849a0528f35bfb592a9f72737

packages/google-cloud-firestore/.kokoro/docs/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ env_vars: {
3030

3131
env_vars: {
3232
key: "V2_STAGING_BUCKET"
33+
# Push google cloud library docs to the Cloud RAD bucket `docs-staging-v2`
3334
value: "docs-staging-v2"
3435
}
3536

packages/google-cloud-firestore/noxfile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ def blacken(session):
7676

7777
@nox.session(python="3.7")
7878
def pytype(session):
79-
"""Run pytype
80-
"""
79+
"""Verify type hints are pytype compatible."""
8180
session.install(PYTYPE_VERSION)
8281
session.run("pytype",)
8382

@@ -122,7 +121,7 @@ def default(session):
122121
"py.test",
123122
"--quiet",
124123
f"--junitxml=unit_{session.python}_sponge_log.xml",
125-
"--cov=google/cloud",
124+
"--cov=google",
126125
"--cov=tests/unit",
127126
"--cov-append",
128127
"--cov-config=.coveragerc",

0 commit comments

Comments
 (0)