Skip to content

Conversation

kwo
Copy link
Contributor

@kwo kwo commented Nov 17, 2020

Allow local package names that are a single word or not a URL.

Fixes #17

@daixiang0
Copy link
Owner

Thanks for fix.

Could add some test for this?

@kwo
Copy link
Contributor Author

kwo commented Nov 18, 2020

After adding the tests, I discovered there was no way to differentiate non-URL package names from standard library package names - if the non-URL package name was from an external package. Therefore, this PR is now bigger than I intended yet foolproof - the list of stdlib package names will be loaded upon start and used to classify stdlib package names.

@daixiang0 daixiang0 merged commit 4ad3233 into daixiang0:master Nov 19, 2020
@kwo kwo deleted the non-url-package-names2 branch November 20, 2020 10:52
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.

Local flag not working with non URL package names
2 participants