E566 Update 'synth.py' to avoid appending blank lines. · googleapis/google-cloud-python@d7f832a · GitHub
[go: up one dir, main page]

Skip to content

Commit d7f832a

Browse files
committed
Update 'synth.py' to avoid appending blank lines.
They trigger lint failures.
1 parent 017e3e8 commit d7f832a

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

pubsub/google/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@
2020
except ImportError:
2121
import pkgutil
2222
__path__ = pkgutil.extend_path(__path__, __name__)
23-

pubsub/google/cloud/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@
2020
except ImportError:
2121
import pkgutil
2222
__path__ = pkgutil.extend_path(__path__, __name__)
23-

pubsub/synth.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@
7272
'\g<0>import google.api_core.path_template\n'
7373
)
7474

75-
# Generator is removing ending line of __init__.py
76-
s.replace(
77-
['google/cloud/__init__.py', 'google/__init__.py'],
78-
'__path__ = pkgutil.extend_path\(__path__, __name__\)',
79-
'\g<0>\n'
80-
)
81-
8275
# Doc strings are formatted poorly
8376
s.replace(
8477
'google/cloud/pubsub_v1/proto/pubsub_pb2.py',

0 commit comments

Comments
 (0)
0