Inspectopedia Help

Incorrect arguments in step definition functions

Reports incorrect arguments in step definition functions.

Example:

from behave import * @given("I'm ready") def step_impl(context,a): raise NotImplementedError(u'STEP: Given I\'m ready')

The a argument is highlighted as an inappropriate. The quick-fix removes it.

Inspection Details

Available in:

PyCharm 2023.3

Plugin:

Python, 233.SNAPSHOT

Last modified: 13 July 2023