Closed Riolku closed 8 months ago
Attention: 15 lines
in your changes are missing coverage. Please review.
Comparison is base (
1bacacb
) 46.82% compared to head (9bf5045
) 46.80%.
Files | Patch % | Lines |
---|---|---|
judge/views/problem_data.py | 11.76% | 15 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Before #2197,
get_valid_files
returned aList[str]
. Then it returned anOption[List[str]]
, because we wanted to flag invalid zips. This caused issues with iterating, and is a pretty terrible design.Instead, we just re-raise the BadZipfile, and handle it in the two places this function is used.