Skip to content

Commit 8ada7c3

Browse files
authored
chore: clean up synth.py (#117)
Clean up a some replacements that are not needed. Fixes #94.
1 parent c27bef0 commit 8ada7c3

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

  • packages/google-cloud-datacatalog

packages/google-cloud-datacatalog/synth.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@
4646
],
4747
)
4848

49-
# Fix docstring issue for classes with no summary line
50-
s.replace(
51-
"google/cloud/**/proto/*_pb2.py",
52-
''''__doc__': """Attributes:''',
53-
'''"__doc__": """
54-
Attributes:''',
55-
)
56-
5749
# ----------------------------------------------------------------------------
5850
# Add templated files
5951
# ----------------------------------------------------------------------------
@@ -69,18 +61,5 @@
6961

7062
python.py_samples()
7163

72-
# Temporarily disable warnings due to
73-
# https://github.com/googleapis/gapic-generator-python/issues/525
74-
s.replace("noxfile.py", '[\"\']-W[\"\']', '# "-W"')
75-
76-
# ----------------------------------------------------------------------------
77-
# Samples templates
78-
# ----------------------------------------------------------------------------
79-
80-
python.py_samples()
81-
82-
# Temporarily disable warnings due to
83-
# https://github.com/googleapis/gapic-generator-python/issues/525
84-
s.replace("noxfile.py", '[\"\']-W[\"\']', '# "-W"')
8564

8665
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)