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

More specific selectors #94

Open
orsinium opened this issue Jun 26, 2019 · 2 comments
Open

More specific selectors #94

orsinium opened this issue Jun 26, 2019 · 2 comments

Comments

@orsinium
Copy link

Now selectors captures everything related to the given topic. For example, select_module captures module_name, module_nickname etc. Sometimes it's useful to be more specific. For example:

...select_module('test', capture=['module_name'])
@thatch
Copy link
Contributor

thatch commented Jul 3, 2019

Are you just suggesting prune the captures dict? Could you give an example of where this is helpful?

@orsinium
Copy link
Author

orsinium commented Jul 3, 2019

Yes. For example, when I want to get rid of "as" import. I can write my own selector, but it would be great to be able to reuse existent selectors from Bowler when possible.

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

No branches or pull requests

2 participants