class documentation

class CamelCaseStyle(NamingStyle): (source)

View In Hierarchy

Regex rules for camelCase naming style.

Constant CLASS_ATTRIBUTE_RGX Undocumented
Constant CLASS_NAME_RGX Undocumented
Constant CONST_NAME_RGX Undocumented
Constant DEFAULT_NAME_RGX Undocumented
Constant MOD_NAME_RGX Undocumented

Inherited from NamingStyle:

Class Method get_regex Undocumented
Constant ANY Undocumented
CLASS_ATTRIBUTE_RGX = (source)

Undocumented

Value
re.compile(r'([^\W\dA-Z][^\W_]{2,}|__.*__)$')
CLASS_NAME_RGX = (source)

Undocumented

Value
re.compile(r'[^\W\dA-Z][^\W_]+$')
CONST_NAME_RGX = (source)

Undocumented

Value
re.compile(r'([^\W\dA-Z][^\W_]*|__.*__)$')
DEFAULT_NAME_RGX = (source)

Undocumented

Value
re.compile(r'([^\W\dA-Z][^\W_]{2,}|__[^\W\dA-Z_]\w+__)$')
MOD_NAME_RGX = (source)

Undocumented

Value
re.compile(r'[^\W\dA-Z][^\W_]*$')