rspec/rules/S1515/python/highlighting.adoc

14 lines
334 B
Plaintext
Raw Normal View History

=== Highlighting
Primary: the first time the variable is used in the function/lambda
Secondaries:
* every assignment of the variable in the enclosing loop
** message: Assignment in the loop
* the nested function name:
** message: Function capturing this variable
* the "lambda" keyword
** message: Lambda capturing this variable