-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplify handling of extras #104
Conversation
I'd like to bring this in, but it's failing mypy -- PTAL. |
poetry types are already changed upstream to match this, but until a new version is released, mypy will fail here |
Rebased on top of core 1.3. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Wow, there's some fascinating failures happening -- back to you @dimbleby 😆 |
the reason for the failure is that in poetry 1.2.2 extra_package_names = get_extra_package_names()
for package in packages:
if package in extra_package_names:
... consumes the iterable as it goes and you might or might not be lucky when checking the second and subsequent packages. On master, Could patch this now with an explicit |
rebased on #167 which I expect should allow the CI to pass |
it's never None, or True, or False: it's just a (possibly-empty) collection of strings
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
extras in this plug-in are never None, or True, or False: just a (possibly-empty) collection of strings