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

Allow filter-func in need-pie to have multiple dots in the import path. #1373

Conversation

Aymen-Soussi-01
Copy link
Contributor

I just changed the split of the path of filter-func to split on the first dot starting from the right.
This means anything to the right will be the function name and anything to the left will be the module import path
This Fix will close the issue #1372

@danwos
Copy link
Member

danwos commented Dec 20, 2024

Nice catch and the fix seems to be quite small :)

However, can you please also add a test case for this use case, so that we know the fix is really working?

If any help is needed, just let me know.

Copy link
Member

@danwos danwos left a comment

Choose a reason for hiding this comment

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

Looks good for me. Thanks for the fix!! 👍

@danwos danwos merged commit 3ba2d9e into useblocks:master Dec 23, 2024
16 checks passed
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