ruff: enable PERF checks set
This commit is contained in:
parent
a751f2b69f
commit
721a0cd3fc
4 changed files with 12 additions and 3 deletions
|
@ -199,7 +199,7 @@ class Loader:
|
|||
|
||||
|
||||
def load_items(self, metas: Json) -> Iterable[Highlight]:
|
||||
for _p, meta in metas.items():
|
||||
for _p, meta in metas.items(): # noqa: PERF102
|
||||
with wrap(meta, throw=not config.defensive) as meta:
|
||||
yield from self.load_item(meta)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue