Skip to content

Commit 3318f88

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 66d1b41 commit 3318f88

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

src/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
pbar.close()
6363

64-
# Save the data to a file
64+
# Save the data to a file
6565
filename = f"{resource_name}_latest.json"
6666
filepath = Config.raw_path / filename
6767

src/transform.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
from src.utils.utils import Utils
88

99
if __name__ == "__main__":
10-
parser = ArgumentParser(description="Transform data from Pretalx to EuroPython format and save it.")
10+
parser = ArgumentParser(
11+
description="Transform data from Pretalx to EuroPython format and save it."
12+
)
1113
parser.add_argument(
1214
"-w",
1315
"--warn-dupes",
@@ -24,8 +26,9 @@
2426
args = parser.parse_args()
2527
exclude = set(args.exclude or [])
2628

27-
28-
print(f"Parsing submissions from {Config.raw_path}/submissions_latest.json...", end="")
29+
print(
30+
f"Parsing submissions from {Config.raw_path}/submissions_latest.json...", end=""
31+
)
2932
pretalx_submissions = Parse.publishable_submissions(
3033
Config.raw_path / "submissions_latest.json"
3134
)
@@ -38,7 +41,10 @@
3841
print(" done.")
3942

4043
if "youtube" not in exclude:
41-
print(f"Parsing YouTube data from {Config.raw_path}/youtube_latest.json...", end="")
44+
print(
45+
f"Parsing YouTube data from {Config.raw_path}/youtube_latest.json...",
46+
end="",
47+
)
4248
youtube_data = Parse.youtube(Config.raw_path / "youtube_latest.json")
4349
print(" done.")
4450
else:
@@ -77,7 +83,9 @@
7783
print(" done.")
7884

7985
if "schedule" not in exclude:
80-
print("\nParsing schedule from {Config.raw_path}/schedule_latest.json...", end="")
86+
print(
87+
"\nParsing schedule from {Config.raw_path}/schedule_latest.json...", end=""
88+
)
8189
pretalx_schedule = Parse.schedule(Config.raw_path / "schedule_latest.json")
8290
print(" done.")
8391

0 commit comments

Comments
 (0)