Skip to content

Commit f4379a7

Browse files
committed
fix pylint complaint line-too-long
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent cf9b9b3 commit f4379a7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

kettle/update.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@ def main():
6363

6464
if os.getenv('DEPLOYMENT', 'staging') == "prod":
6565
call(f'{mj_cmd} {mj_ext} --days {DAY} | pv | gzip > build_day.json.gz')
66-
call(f'{bq_cmd} {bq_ext} kubernetes-public:k8s_infra_kettle.day build_day.json.gz schema.json')
66+
call(f'{bq_cmd} {bq_ext} ' \
67+
f'kubernetes-public:k8s_infra_kettle.day build_day.json.gz schema.json')
6768

6869
call(f'{mj_cmd} {mj_ext} --days {WEEK} | pv | gzip > build_week.json.gz')
69-
call(f'{bq_cmd} {bq_ext} kubernetes-public:k8s_infra_kettle.week build_week.json.gz schema.json')
70+
call(f'{bq_cmd} {bq_ext} ' \
71+
f'kubernetes-public:k8s_infra_kettle.week build_week.json.gz schema.json')
7072

7173
# TODO: (MushuEE) #20024, remove 30 day limit once issue with all uploads is found
7274
call(f'{mj_cmd} --days {MONTH} | pv | gzip > build_all.json.gz')
@@ -77,7 +79,8 @@ def main():
7779
f'--tables all:{MONTH} day:{DAY} week:{WEEK} --stop_at=1')
7880
else:
7981
call(f'{mj_cmd} | pv | gzip > build_staging.json.gz')
80-
call(f'{bq_cmd} kubernetes-public:k8s_infra_kettle.staging build_staging.json.gz schema.json')
82+
call(f'{bq_cmd} kubernetes-public:k8s_infra_kettle.staging ' \
83+
f'build_staging.json.gz schema.json')
8184
call(f'python3 stream.py --poll {SUB_PATH} ' \
8285
f'--dataset kubernetes-public:k8s_infra_kettle --tables staging:0 --stop_at=1')
8386

0 commit comments

Comments
 (0)