Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuenni committed Mar 6, 2024
1 parent e2baf4e commit ab8376e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1676,12 +1676,14 @@ def testcases(problem, includes=False):
if includes:
return {
problem.path / 'data' / p.parent / (p.name + '.in')
for p, x in gen_config.known_cases.items() if x.parse_error is None
for p, x in gen_config.known_cases.items()
if x.parse_error is None
}
else:
return {
(problem.path / 'data' / x.path).with_suffix('.in')
for x in gen_config.known_cases.values() if x.parse_error is None
for x in gen_config.known_cases.values()
if x.parse_error is None
}
return set()
else:
Expand Down

0 comments on commit ab8376e

Please sign in to comment.