Skip to content

Commit 1b1ef5c

Browse files
gkorlandCopilot
andcommitted
fix(analyzers): add explicit Entity/File imports in Python analyzer
Adds explicit imports for Entity and File alongside the star import, matching the pattern used in the Java analyzer. Fixes F405 ruff warnings. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d1cccde commit 1b1ef5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/analyzers/python/analyzer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
import tomllib
77
from ...entities import *
8+
from ...entities.entity import Entity
9+
from ...entities.file import File
810
from typing import Optional
911
from ..analyzer import AbstractAnalyzer
1012

0 commit comments

Comments
 (0)