rspec/rules/S116/python/rule.adoc
2021-01-27 13:42:22 +01:00

18 lines
230 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default regular expression ``++^[_a-z][_a-z0-9]*$++``:
----
class MyClass:
myField = 1
----
== Compliant Solution
----
class MyClass:
my_field = 1
----