Commit ae55a6a
committed
docs(conf) Fix UP031 (printf-string-formatting)
https://docs.astral.sh/ruff/rules/printf-string-formatting/
docs/conf.py:189:16: UP031 Use format specifiers instead of percent format
|
187 | lineno = None
188 |
189 | linespec = "#L%d-L%d" % (lineno, lineno + len(source) - 1) if lineno else ""
| ^^^^^^^^^^ UP031
190 |
191 | fn = relpath(fn, start=pathlib.Path(vcspull.__file__).parent)
|
= help: Replace with format specifiers1 parent f00db16 commit ae55a6a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments