{{ message }}
Repository navigation
Commit 763da16
committed
docs(conf) Fix UP031 (printf-string-formatting)
https://docs.astral.sh/ruff/rules/printf-string-formatting/
docs/conf.py:194:16: UP031 Use format specifiers instead of percent format
|
192 | lineno = None
193 |
194 | linespec = "#L%d-L%d" % (lineno, lineno + len(source) - 1) if lineno else ""
| ^^^^^^^^^^ UP031
195 |
196 | fn = relpath(fn, start=pathlib.Path(vcspull.__file__).parent)
|
= help: Replace with format specifiers1 parent 1428190 commit 763da16
1 file changed
Lines changed: 1 addition & 1 deletion

0 commit comments