module documentation

Undocumented

Function detailed_errors Undocumented
Class _ErrorFormatting Undocumented
Class _SummaryWriter No class docstring; 0/3 instance variable, 0/1 constant, 1/12 method documented
Function _separate_terms >>> _separate_terms("FooBar-foo") ['foo', 'bar', 'foo']
Constant _CAMEL_CASE_SPLITTER Undocumented
Constant _IDENTIFIER Undocumented
Constant _MESSAGE_REPLACEMENTS Undocumented
Constant _NEED_DETAILS Undocumented
Constant _SKIP_DETAILS Undocumented
Constant _TOML_JARGON Undocumented
Variable _logger Undocumented
@contextmanager
def detailed_errors(): (source)

Undocumented

def _separate_terms(word: str) -> List[str]: (source)

>>> _separate_terms("FooBar-foo") ['foo', 'bar', 'foo']

_CAMEL_CASE_SPLITTER = (source)

Undocumented

Value
re.compile(r'\W+|([A-Z][^A-Z\W]*)')
_IDENTIFIER = (source)

Undocumented

Value
re.compile(r'^[\w_]+$',
           re.I)
_MESSAGE_REPLACEMENTS: dict[str, str] = (source)

Undocumented

Value
{'must be named by propertyName definition': 'keys must be named by',
 'one of contains definition': 'at least one item that matches',
 ' same as const definition:': '',
 'only specified items': 'only items matching the definition'}
_NEED_DETAILS: set[str] = (source)

Undocumented

Value
set(['anyOf', 'oneOf', 'anyOf', 'contains', 'propertyNames', 'not', 'items'])
_SKIP_DETAILS: tuple[str, ...] = (source)

Undocumented

Value
('must not be empty', 'is always invalid', 'must not be there')
_TOML_JARGON: dict[str, str] = (source)

Undocumented

Value
{'object': 'table',
 'property': 'key',
 'properties': 'keys',
 'property names': 'keys'}

Undocumented