models
Bump My Version configuration models.
Classes¶
Config
¶
FileChange
¶
Bases: BaseModel
A change to make to a file.
Functions¶
get_search_pattern
¶
get_search_pattern(
context: MutableMapping,
) -> Tuple[re.Pattern, str]
Render the search pattern and return the compiled regex pattern and the raw pattern.
Parameters:
context
-
The context to use for rendering the search pattern
TYPE:
MutableMapping
Returns: