Commit c0623be
committed
docs(conf) Fix UP031 (printf-string-formatting)
https://docs.astral.sh/ruff/rules/printf-string-formatting/
docs/conf.py:180:16: UP031 Use format specifiers instead of percent format
|
178 | lineno = None
179 |
180 | linespec = "#L%d-L%d" % (lineno, lineno + len(source) - 1) if lineno else ""
| ^^^^^^^^^^ UP031
181 |
182 | fn = relpath(fn, start=pathlib.Path(vcspull.__file__).parent)
|
= help: Replace with format specifiers/1 parent 5657e56 commit c0623be
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
0 commit comments