Skip to content

Commit

Permalink
chore: remove temp fix, set cov level to 99 (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolea2 committed Feb 26, 2021
1 parent 0fe5b63 commit fd19db4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions synth.py
Expand Up @@ -47,20 +47,13 @@
s.move(library / "tests")
s.move(library / "scripts")

# temporary workaround for https://github.com/googleapis/gapic-generator-python/issues/778
s.replace(
"google/cloud/**/client.py",
"""\s+if permissions:
\s+request\.permissions\.extend\(permissions\)""",
"",
)

# ----------------------------------------------------------------------------
# Add templated files
# ----------------------------------------------------------------------------
templated_files = common.py_library(
samples=True, # set to True only if there are samples
microgenerator=True,
cov_level=99
)
s.move(templated_files, excludes=[".coveragerc"])

Expand Down

0 comments on commit fd19db4

Please sign in to comment.