melexis/sphinx-traceability-extension

View on GitHub

Showing 126 of 141 total issues

Formatting a regular string which could be a f-string
Open

            retval += '\t{forward}: {reverse}\n'.format(forward=relation, reverse=reverse)

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

                retval += '\t\t{target}\n'.format(target=tgtid)
Severity: Info
Found in mlx/traceability/traceable_item.py by pylint

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

                raise TraceabilityException('{cnt} duplicate target(s) found for {item} {relation})'
Severity: Info
Found in mlx/traceability/traceable_item.py by pylint

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

            disp = 'Statistics: {cover} out of {total} covered: {pct}%'.format(cover=count_covered,

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

            raise TraceabilityException("The :intermediate: option is used, expected at least two relationships "

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

        return "{:.0f}%\n({:d})".format(pct, absolute)

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.

Severity
Category
Status
Source
Language