rspec/rules/S1129/python/rule.adoc
2021-04-28 18:08:03 +02:00

18 lines
286 B
Plaintext

The long suffix should always be written in uppercase, i.e. 'L', as the lowercase 'l' can easily be confused with the digit one '1'.
== Noncompliant Code Example
----
return 10l // Noncompliant; easily confused with one zero one
----
== Compliant Solution
----
return 10L
----