Skip to content

Commit 001e897

Browse files
authored
Fix stray, lint-breaking blank lines from autosynth. (#5960)
1 parent ea41e4c commit 001e897

5 files changed

Lines changed: 1 addition & 18 deletions

File tree

bigquery_datatransfer/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-

bigquery_datatransfer/synth.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,8 @@
3535
'nox.py', 'setup.py']
3636
)
3737

38-
# Generator is removing ending line of __init__.py
3938
s.replace(
40-
'google/cloud/__init__.py',
41-
'__path__ = pkgutil.extend_path\(__path__, __name__\)',
42-
'\g<0>\n'
43-
)
44-
45-
s.replace(
46-
['google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2.py',
39+
['google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2.py',
4740
'google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2_grpc.py'],
4841
'from google.cloud.bigquery.datatransfer_v1.proto',
4942
'from google.cloud.bigquery_datatransfer_v1.proto'

dlp/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-

dlp/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-

dlp/synth.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@
5050
"google.cloud.dlp_v2"
5151
)
5252

53-
# Add newlines to end of files
54-
s.replace(
55-
["google/__init__.py", "google/cloud/__init__.py"],
56-
"__path__ = pkgutil.extend_path\(__path__, __name__\)",
57-
"\g<0>\n"
58-
)
59-
6053
# Add missing utf-8 marker
6154
s.replace(
6255
"google/cloud/dlp_v2/proto/dlp_pb2.py",

0 commit comments

Comments
 (0)