Skip to content

Commit fe96859

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

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

utils/import_python_official.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ def fill_links_from_history(df_ics: pd.DataFrame, df_yml: pd.DataFrame) -> pd.Da
6767
year = row.get("year", 0)
6868

6969
# Keep the most recent link for each conference
70-
if (
71-
conf_name
72-
and link
73-
and (conf_name not in historical_links or year > historical_links[conf_name][1])
74-
):
70+
if conf_name and link and (conf_name not in historical_links or year > historical_links[conf_name][1]):
7571
historical_links[conf_name] = (link, year)
7672

7773
filled_count = 0

0 commit comments

Comments
 (0)