Skip to content

Commit 3966468

Browse files
committed
style: normalize with ruff and tidy logging/error handling
Apply ruff formatting/import-sorting across the tree and, in the touched modules, replace bare/silent excepts with except Exception + logging and route debug/error prints through module loggers. No behavior change.
1 parent 22a4a6e commit 3966468

56 files changed

Lines changed: 1035 additions & 1006 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pure_auto_codeql/agents/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
- SinkVerificationAgent: Verifies identified Sink points using CodeQL queries
1212
- SourceVerificationAgent: Verifies identified Source points using CodeQL queries
1313
14-
NOTE: The UnifiedSinkPathAgent and UnifiedSourceAnalysisAgent are the recommended agents
15-
for all sink and source path analysis tasks. They support Java, Python, and C/C++ with
14+
NOTE: The UnifiedSinkPathAgent and UnifiedSourceAnalysisAgent are the recommended agents
15+
for all sink and source path analysis tasks. They support Java, Python, and C/C++ with
1616
consistent logic and improved efficiency.
1717
"""
1818

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
"""CodeQL generation agents package."""
22

3-
from pure_auto_codeql.agents.codeql_gen_agents.codeql_gen_agent import CodeQLGenAgent
43
from pure_auto_codeql.agents.codeql_gen_agents.codeql_error_agent import CodeQLErrorAgent
54
from pure_auto_codeql.agents.codeql_gen_agents.codeql_fix_inplace_agent import CodeQLFixInplaceAgent
6-
from pure_auto_codeql.agents.codeql_gen_agents.template_refinement_agent import TemplateRefinementAgent
5+
from pure_auto_codeql.agents.codeql_gen_agents.codeql_gen_agent import CodeQLGenAgent
76
from pure_auto_codeql.agents.codeql_gen_agents.source_sink_fallback_agent import SourceSinkFallbackAgent
7+
from pure_auto_codeql.agents.codeql_gen_agents.template_refinement_agent import TemplateRefinementAgent
88

99
__all__ = [
1010
'CodeQLGenAgent',
1111
'CodeQLErrorAgent',
1212
'CodeQLFixInplaceAgent',
1313
'TemplateRefinementAgent',
1414
'SourceSinkFallbackAgent',
15-
]
15+
]

0 commit comments

Comments
 (0)