Skip to content

Commit

Permalink
Update 'synth.py' to avoid appending blank lines.
Browse files Browse the repository at this point in the history
They trigger lint failures.
  • Loading branch information
tseaver committed Sep 12, 2018
1 parent 7eef9cd commit fafc664
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion pubsub/google/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

1 change: 0 additions & 1 deletion pubsub/google/cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

7 changes: 0 additions & 7 deletions pubsub/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@
'\g<0>import google.api_core.path_template\n'
)

# Generator is removing ending line of __init__.py
s.replace(
['google/cloud/__init__.py', 'google/__init__.py'],
'__path__ = pkgutil.extend_path\(__path__, __name__\)',
'\g<0>\n'
)

# Doc strings are formatted poorly
s.replace(
'google/cloud/pubsub_v1/proto/pubsub_pb2.py',
Expand Down

0 comments on commit fafc664

Please sign in to comment.