mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
fix preview ruff warning (#11435)
This commit is contained in:
parent
cc425a278a
commit
e6cf6cab99
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ def linkcode_resolve(domain, info):
|
|||
fn = os.path.relpath(fn, start=os.path.dirname(cryptography.__file__))
|
||||
|
||||
if lineno:
|
||||
linespec = "#L%d-L%d" % (lineno, lineno + len(source) - 1)
|
||||
linespec = f"#L{lineno}-L{lineno + len(source) - 1}"
|
||||
else:
|
||||
linespec = ""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue