Attempting to fix documentation build.

This commit is contained in:
Jeremiah Leary 2021-10-28 06:30:04 -05:00
parent 064905ae33
commit 8fed50b259
1 changed files with 0 additions and 35 deletions

View File

@ -34,41 +34,6 @@ For example, if you want to uppercase everything except the entity name, you cou
entity_008 :
case : 'lower'
Adding Prefix and Suffix Exceptions
###################################
Some rules allow for prefixes and suffixes to be cased differently than the rest of the identifier.
This is performed by changing the `prefix_exceptions` and `suffix_exceptions` parameters.
The default values for these are an empty list.
If they are set and if the prefix and/or suffix are encountered, then the exact prefix/suffix will be validated along with the case of the rest of the string.
.. code-block:: yaml
rule :
constant_007 :
case : 'lower'
prefix_exceptions :
- 'G_'
.. code-block:: yaml
rule :
constant_007 :
case : 'lower'
suffix_exceptions :
- '_G'
.. code-block:: yaml
rule :
constant_007 :
case : 'lower'
prefix_exceptions :
- 'G_'
suffix_exceptions :
- '_G'
Rules Enforcing Case
####################