Skip to content

Commit

Permalink
Update matching pipeline #224
Browse files Browse the repository at this point in the history
    * Use JSON input to build codebase

Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Dec 13, 2023
1 parent 51a35d2 commit faa4e60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions matchcode/pipelines/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
# ScanCode.io is a free software code scanning tool from nexB Inc. and others.
# Visit https://github.com/nexB/scancode.io for support and download.

from scanpipe.pipelines.load_inventory import LoadInventory
from scanpipe.pipelines.scan_codebase import ScanCodebase
from matchcode.pipes import matching
from scanpipe.pipes import matchcode


class Matching(ScanCodebase):
class Matching(ScanCodebase, LoadInventory):
"""
Establish relationships between two code trees: deployment and development.
Expand All @@ -38,9 +39,8 @@ class Matching(ScanCodebase):
@classmethod
def steps(cls):
return (
cls.copy_inputs_to_codebase_directory,
cls.extract_archives,
cls.collect_and_create_codebase_resources,
cls.get_inputs,
cls.build_inventory_from_scans,
cls.fingerprint_codebase_directories,
cls.flag_empty_files,
cls.flag_ignored_resources,
Expand Down

0 comments on commit faa4e60

Please sign in to comment.