Skip to content

Conversation

@ryanbrandenburg
Copy link

This should resolve #44 which is causing some upstream problems by crowding the output for scancode runs in ClearlyDefined.

I used vendy to do the move (as has apparently been done in the past), but it was unclear to me if there were any edits to be maintained or why we needed to vendor here in the first place (and if my changes preserved that need) so feedback is most welcome.

@stefan6419846
Copy link

I guess removing the ABOUT, NOTICE and license files is wrong, as this is used to properly attribute the source and its corresponding notices and licenses.

from typecode._vendor.pygments.util import get_choice_opt
from typecode._vendor.pygments.token import Token
from typecode._vendor.pygments.console import colorize
from src.typecode._vendor.pygments.formatter import Formatter

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These src. namespaces look wrong, as the paths in src are the top-level modules, not src.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DeprecationWarning for pkg_resources in typecode._vendor.pygments.plugin

2 participants