Skip to content

Commit

Permalink
Ignore perceived lint issue (#2421)
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser authored Jul 27, 2024
1 parent ef38568 commit 973301b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pymdownx/highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/gen_twemoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 973301b

Please sign in to comment.