fix: bump pylint version (#31084)

This commit is contained in:
Usama Sadiq
2022-10-27 12:19:09 +05:00
committed by GitHub
parent ce9abc94da
commit 4734f9f16e
30 changed files with 99 additions and 80 deletions

View File

@@ -392,7 +392,7 @@ class ProgramProgressMeter:
certificate
)
earliest_course_run_date = min(
[date for date in [available_date, earliest_course_run_date] if date]
date for date in [available_date, earliest_course_run_date] if date
)
# If we're missing a cert for a course, the program isn't completed and we should just bail now
@@ -400,7 +400,7 @@ class ProgramProgressMeter:
return None
# Keep the catalog course date if it's the latest one
program_available_date = max([date for date in [earliest_course_run_date, program_available_date] if date])
program_available_date = max(date for date in [earliest_course_run_date, program_available_date] if date)
return program_available_date