class documentation

class PascalCaseStyle(NamingStyle): (source)

View In Hierarchy

Regex rules for PascalCase naming style.

Constant CLASS_ATTRIBUTE_RGX Undocumented
Constant CLASS_NAME_RGX Undocumented
Constant CONST_NAME_RGX Undocumented
Constant DEFAULT_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+__)$')