aboutcode-org / aboutcode-org/scancode.io

Cannot use ScanCode.io fully as a library

Open
#1,608 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
215
Forks
203
Avg merge
4d 8h
Merged PRs (30d)
6

Description

In a few places, scancodeio settings are used instead of django.conf. In MatchCode, this makes this super hard as the scancode.io settings will be imported even if not desired.

- https://github.com/aboutcode-org/scancode.io/blob/2309019fbf46b1217ed87a95890b4c303a3c59de/scanpipe/pipes/federatedcode.py#L37

- https://github.com/aboutcode-org/scancode.io/blob/2309019fbf46b1217ed87a95890b4c303a3c59de/scancodeio/context_processors.py#L26

Related issue:
- https://github.com/aboutcode-org/scancode.io/issues/240

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.