rspec/rules/S6035/python/rule.adoc
2022-02-04 16:28:24 +00:00

18 lines
212 B
Plaintext

include::../description_without_reference_to_s5998.adoc[]
== Noncompliant Code Example
[source,python]
----
r"a|b|c" # Noncompliant
----
== Compliant Solution
[source,python]
----
r"[abc]"
# or
r"[a-c]"
----