mlx/traceability/directives/checkbox_result_directive.py
Formatting a regular string which could be a f-string Open
Open
report_warning("Checkbox value invalid: {!r} does not match regex {}".format(attribute_value, regexp),
- Read upRead up
- Exclude checks
Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6
.
Formatting a regular string which could be a f-string Open
Open
report_warning("Could not find item ID {!r}".format(target_id), env.docname, self.lineno)
- Read upRead up
- Exclude checks
Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6
.