Skip to content

Commit aa96ec7

Browse files
committed
fixed lint errors
1 parent 9765cf8 commit aa96ec7

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/eurostat/regional_statistics_by_nuts/life_expectancy/preprocess.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
'Path to input TSV file')
2828
flags.DEFINE_string('output_file', 'demo_r_mlifexp_cleaned.csv',
2929
'Path to output CSV file')
30-
flags.DEFINE_string('mode', '', 'Mode of operation: download, process, or empty (both)')
30+
flags.DEFINE_string('mode', '',
31+
'Mode of operation: download, process, or empty (both)')
3132

3233

3334
def nuts_to_iso(data):

scripts/eurostat/regional_statistics_by_nuts/life_expectancy/preprocess_test.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ def test_preprocess(self):
3636
output_file = os.path.join(test_dir, 'output.csv')
3737

3838
with open(input_file, 'w') as f:
39-
f.write(
40-
"freq,unit,sex,age,geo\\TIME_PERIOD\t2022 \t2021 \n"
41-
"A,YR,F,Y1,AT\t81.6 \t82.0 \n"
42-
"A,YR,M,Y_GE85,BE\t: \t5.1 \n")
39+
f.write("freq,unit,sex,age,geo\\TIME_PERIOD\t2022 \t2021 \n"
40+
"A,YR,F,Y1,AT\t81.6 \t82.0 \n"
41+
"A,YR,M,Y_GE85,BE\t: \t5.1 \n")
4342

4443
preprocess(input_file, output_file)
4544

0 commit comments

Comments
 (0)