Skip to content

Commit

Permalink
style: add noqas for a ruff fix
Browse files Browse the repository at this point in the history
Bug is documented here: astral-sh/ruff#12940
  • Loading branch information
lengau committed Aug 16, 2024
1 parent 0649a00 commit 5f1afe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion craft_parts/plugins/maven_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from pathlib import Path
from typing import Literal, cast
from urllib.parse import urlparse
from xml.etree import ElementTree
from xml.etree import ElementTree # noqa: ICN001 (Normally imported as ET)

from overrides import override

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/plugins/test_maven_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from pathlib import Path
from textwrap import dedent
from unittest import mock
from xml.etree import ElementTree
from xml.etree import ElementTree # noqa: ICN001 (Normally imported as ET)

import pytest
from craft_parts import Part, PartInfo, ProjectInfo, errors
Expand Down

0 comments on commit 5f1afe3

Please sign in to comment.