[lint] extend FURB lints (#12088)

This commit is contained in:
danieleades
2024-03-17 11:06:39 +00:00
committed by GitHub
parent 22968d29f5
commit 4f7318767c
4 changed files with 7 additions and 29 deletions

View File

@@ -577,7 +577,7 @@ def test_linkcheck_allowed_redirects(app, warning):
app.build()
with open(app.outdir / 'output.json', encoding='utf-8') as fp:
rows = [json.loads(l) for l in fp.readlines()]
rows = [json.loads(l) for l in fp]
assert len(rows) == 2
records = {row["uri"]: row for row in rows}