rspec/rules/S1542/python/rule.adoc

18 lines
235 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
2020-12-23 14:59:06 +01:00
With the default provided regular expression: ``^[a-z_][a-z0-9_]*$``
2020-06-30 12:47:33 +02:00
----
def MyFunction(a,b):
...
----
== Compliant Solution
----
def my_function(a,b):
...
----