Cucumber undefined step linting error with Python
10:01 20 Dec 2025

I'm using the CucumberOpen extension in Cursor but it gives linting errors for any decorator with a variable in the name -

@given(parsers.parse('the system is configured for "{scenario_condition}"'))

which leads to an undefined step error in my .feature file -

And the system is configured for 

Is there a way I can format this to work with the extension?

cucumber