Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
  • Loading branch information
carmenbianca committed Apr 8, 2024
1 parent 72c6e5b commit 1f42326
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/reuse/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,11 @@ def to_dict_lint(self) -> Dict[str, Any]:
{
"value": line,
"source": reuse_info.source_path,
"source_type": reuse_info.source_type.value
if reuse_info.source_type
else None,
"source_type": (
reuse_info.source_type.value
if reuse_info.source_type
else None
),
}
for reuse_info in self.reuse_infos
for line in reuse_info.copyright_lines
Expand All @@ -550,9 +552,11 @@ def to_dict_lint(self) -> Dict[str, Any]:
{
"value": str(expression),
"source": reuse_info.source_path,
"source_type": reuse_info.source_type.value
if reuse_info.source_type
else None,
"source_type": (
reuse_info.source_type.value
if reuse_info.source_type
else None
),
}
for reuse_info in self.reuse_infos
for expression in reuse_info.spdx_expressions
Expand Down

0 comments on commit 1f42326

Please sign in to comment.