Commit 00ffcd1
committed
docs(conf) Fix UP031 (printf-string-formatting)
https://docs.astral.sh/ruff/rules/printf-string-formatting/
docs/conf.py:201:16: UP031 Use format specifiers instead of percent format
|
195 | lineno = None
196 |
197 | linespec = "#L%d-L%d" % (lineno, lineno + len(source) - 1) if lineno else ""
| ^^^^^^^^^^ UP031
198 |
199 | fn = relpath(fn, start=pathlib.Path(vcspull.__file__).parent)
|
= help: Replace with format specifiers1 parent 9fa2782 commit 00ffcd1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments