Skip to content
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

Add support for custom subpackage requires #620

Merged
merged 2 commits into from
Apr 24, 2020

Conversation

bryteise
Copy link
Member

Due to more systems being added for automated runtime dependency
injection for subpackages, we need a way for manual overrides of the
default detected dependencies.

This change provides support for specifying which subpackage runtime
dependencies should be added or removed and consolidates some of the
custom configuration file detection along with it.

Due to more systems being added for automated runtime dependency
injection for subpackages, we need a way for manual overrides of the
default detected dependencies.

This change provides support for specifying which subpackage runtime
dependencies should be added or removed and consolidates some of the
custom configuration file detection along with it.
@phmccarty
Copy link
Contributor

@bryteise I just tested the code with flake8-3.8.0a2 (and pycodestyle-2.6.0a1), and no issues are identified with your changes. There are 4 new issues raised, but I'll address those in a different PR.

Proceeding with review...

Copy link
Contributor

@phmccarty phmccarty left a comment

Choose a reason for hiding this comment

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

Just one question about error handling in some old code :-) Otherwise, LGTM.

autospec/config.py Outdated Show resolved Hide resolved
The content map can never be empty at this point due to the assignment
so remove the test.

We could have checked the files element in the map to see if it was
empty but printing a warning for an empty extras file isn't very
valuable.
@phmccarty phmccarty merged commit 258ebe7 into master Apr 24, 2020
@phmccarty phmccarty deleted the manual-subpackage-requires branch April 24, 2020 23:00
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.

2 participants