Skip to content

Commit 7a72929

Browse files
committed
Use aboutcode.pipeline
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent cba58b8 commit 7a72929

5 files changed

Lines changed: 7 additions & 335 deletions

File tree

‎pipeline/__init__.py‎

Lines changed: 0 additions & 327 deletions
This file was deleted.

‎setup.cfg‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ install_requires =
9393
fetchcode>=0.3.0
9494

9595
#pipeline
96-
bleach>=6.1.0
97-
markdown-it-py>=3.0.0
96+
aboutcode.pipeline>=0.1.0
9897

9998
#vulntotal
10099
python-dotenv

‎vulnerabilities/pipelines/__init__.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#
99

10-
from pipeline import BasePipeline
11-
from pipeline import BasePipelineRun
10+
from aboutcode.pipeline import BasePipeline
11+
1212
from vulnerabilities.utils import classproperty
1313

1414

15-
class VulnerableCodePipeline(BasePipeline, BasePipelineRun):
15+
class VulnerableCodePipeline(BasePipeline):
1616
@classproperty
1717
def qualified_name(cls):
1818
"""

‎vulnerabilities/pipelines/remove_ghost_packages.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#
99

10+
from aboutcode.pipeline import LoopProgress
1011
from fetchcode.package_versions import SUPPORTED_ECOSYSTEMS
1112
from fetchcode.package_versions import versions
1213
from packageurl import PackageURL
1314
from univers.version_range import RANGE_CLASS_BY_SCHEMES
1415

15-
from pipeline import LoopProgress
1616
from vulnerabilities.models import Package
1717
from vulnerabilities.pipelines import VulnerableCodePipeline
1818

‎vulnerablecode/settings.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,12 @@
341341
},
342342
},
343343
"loggers": {
344-
"pipeline": {
344+
"aboutcode.pipeline": {
345345
"handlers": ["console"],
346346
"level": VULNERABLECODE_LOG_LEVEL,
347347
"propagate": False,
348348
},
349-
"pipeline": {
349+
"aboutcode.pipeline": {
350350
"handlers": ["console"],
351351
"level": VULNERABLECODE_LOG_LEVEL,
352352
"propagate": False,

0 commit comments

Comments
 (0)