Skip to content

Commit 5c3afe7

Browse files
committed
Code formatting #2228
Signed-off-by: Chin Yeung Li <tli@nexb.com>
1 parent 264ccad commit 5c3afe7

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

scanpipe/pipes/d2d.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,10 +1566,9 @@ def scan_ignored_to_files(project, logger=None):
15661566
scancode.scan_for_files(project, scan_files, progress_logger=logger)
15671567

15681568
# Revert to the original status value
1569-
project.codebaseresources.filter(
1570-
id__in=scan_file_ids,
1571-
status=flag.SCANNED
1572-
).update(status=flag.IGNORED_FROM_CONFIG)
1569+
project.codebaseresources.filter(id__in=scan_file_ids, status=flag.SCANNED).update(
1570+
status=flag.IGNORED_FROM_CONFIG
1571+
)
15731572

15741573

15751574
def scan_unmapped_to_files(project, logger=None):
@@ -1592,10 +1591,9 @@ def scan_unmapped_to_files(project, logger=None):
15921591
scancode.scan_for_files(project, scan_files, progress_logger=logger)
15931592

15941593
# Revert to the original status value
1595-
project.codebaseresources.filter(
1596-
id__in=scan_file_ids,
1597-
status=flag.SCANNED
1598-
).update(status=flag.REQUIRES_REVIEW)
1594+
project.codebaseresources.filter(id__in=scan_file_ids, status=flag.SCANNED).update(
1595+
status=flag.REQUIRES_REVIEW
1596+
)
15991597

16001598

16011599
def flag_deployed_from_resources_with_missing_license(project, doc_extensions=None):

0 commit comments

Comments
 (0)