Skip to content

Commit 056b87c

Browse files
committed
Adjust code for linter compliance
1 parent aebf484 commit 056b87c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pelican/plugins/yaml_metadata/yaml_metadata.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
re.MULTILINE | re.DOTALL,
3131
)
3232

33-
DUPES_NOT_ALLOWED = set(
34-
k for k, v in DUPLICATES_DEFINITIONS_ALLOWED.items() if not v
35-
) - {"tags", "authors"}
33+
DUPES_NOT_ALLOWED = {k for k, v in DUPLICATES_DEFINITIONS_ALLOWED.items() if not v} - {
34+
"tags",
35+
"authors",
36+
}
3637

3738
_DEL = object()
3839

0 commit comments

Comments
 (0)