From 973301b326f4eedda1cae2f61d879364316b0200 Mon Sep 17 00:00:00 2001 From: Isaac Muse Date: Sat, 27 Jul 2024 12:12:17 -0600 Subject: [PATCH] Ignore perceived lint issue (#2421) --- pymdownx/highlight.py | 2 +- tools/gen_twemoji.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pymdownx/highlight.py b/pymdownx/highlight.py index 260211ef1..bcc5dd737 100644 --- a/pymdownx/highlight.py +++ b/pymdownx/highlight.py @@ -474,7 +474,7 @@ def highlight( if id_str: # pragma: no cover attributes['id'] = id_str for k, v in attrs: # pragma: no cover - attributes[k] = v + attributes[k] = v # noqa: PERF403 el = etree.Element('code', attributes) el.text = code diff --git a/tools/gen_twemoji.py b/tools/gen_twemoji.py index cd9fd28d3..10e843d5a 100644 --- a/tools/gen_twemoji.py +++ b/tools/gen_twemoji.py @@ -227,7 +227,7 @@ def parse(repo, tag, jtag, emojis, emoji_aliases): for k, v in emoji_aliases.items(): if v in emoji_db: - aliases[k] = v + aliases[k] = v # noqa: PERF403 # Copy emoji only found in EmojiOne for k, v in SPECIAL_EMOJI.items():