rspec/rules/S1542/python/rule.adoc

35 lines
525 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default provided regular expression: ``++^[a-z_][a-z0-9_]*$++``
----
def MyFunction(a,b):
...
----
== Compliant Solution
----
def my_function(a,b):
...
----
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[]