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

Extract python_functions & use it in treesitter query #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicos68
Copy link

@nicos68 nicos68 commented Feb 11, 2024

This PR aims to resolve #65 : discover pytest test positions when python_functions is set to a value different to test.

I placed the python_functions value extraction code in the discover_positions. This is not ideal because it causes this code to be called once for each test file while calling it only once is enough, but I did not find any satisfying place. Please do not hesitate to suggest improvements on this issue if you see any.

Also it might not be very idiomatic as this is my first time writing lua code in a non-personal project.

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.

Custom test function names are not handled
1 participant