Skip to content

Commit

Permalink
ruff formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
briehl committed Dec 17, 2024
1 parent 224153a commit d0e08b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion staging_service/import_specifications/individual_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ def parse_dts_manifest(path: Path, validator: Draft202012Validator) -> ParseResu
results[datatype].append(parameters)
# Re-package results as a dict of {datatype: ParseResult}
results = {
datatype: ParseResult(spcsrc, tuple(paramlist)) for datatype, paramlist in results.items()
datatype: ParseResult(spcsrc, tuple(paramlist))
for datatype, paramlist in results.items()
}
except json.JSONDecodeError:
return _error(Error(ErrorType.PARSE_FAIL, "File must be in JSON format", spcsrc))
Expand Down

0 comments on commit d0e08b9

Please sign in to comment.