rspec/rules/S117/python/rule.adoc

30 lines
460 B
Plaintext

== Why is this an issue?
include::../description.adoc[]
=== Exceptions
Loop counters are ignored by this rule.
----
for i in range(limit): # Compliant
print(i)
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::parameters.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]