Skip to content

Commit

Permalink
Ignore S409 instance (pulldom import)
Browse files Browse the repository at this point in the history
Again, this is a false positive; `defusedxml` doesn't provide the
constants we import `pulldom` for. Added to the existing issue report at
<astral-sh/ruff#14901 (comment)>.

Signed-off-by: Tim Weber <[email protected]>
  • Loading branch information
scy committed Dec 10, 2024
1 parent 1133d5f commit 460e0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/dearmep/convert/europarl/rollcallvote.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later

from typing import Type, TypeVar
from xml.dom import pulldom
from xml.dom import pulldom # noqa: S409

from defusedxml.pulldom import parse as pulldom_parse

Expand Down

0 comments on commit 460e0cc

Please sign in to comment.