Skip to content

Commit df1b6f4

Browse files
committed
chore: apply linters
1 parent f81412d commit df1b6f4

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

src/mutahunter/core/mutator.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from jinja2 import Template
77

88
from mutahunter.core.logger import logger
9-
from mutahunter.core.repomap import RepoMap
109
from mutahunter.core.prompts.factory import PromptFactory
10+
from mutahunter.core.repomap import RepoMap
1111

1212

1313
class MutationStrategy:
@@ -138,10 +138,9 @@ def generate_mutant(self, repo_map_result):
138138
"system": system_template,
139139
"user": user_template,
140140
}
141-
print("system_template:", system_template)
142-
print("user_template:", user_template)
141+
# print("system_template:", system_template)
142+
# print("user_template:", user_template)
143143

144-
exit()
145144
model_response, _, _ = self.router.generate_response(
146145
prompt=prompt, streaming=True
147146
)

src/mutahunter/core/prompts/factory.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
Module for generating prompts based on the programming language.
33
"""
44

5-
from mutahunter.core.prompts.examples import (
6-
GO_EXAMPLE_OUTPUT,
7-
JAVA_EXAMPLE_OUTPUT,
8-
JAVASCRIPT_EXAMPLE_OUTPUT,
9-
PYTHON_EXAMPLE_OUTPUT,
10-
)
5+
from mutahunter.core.prompts.examples import (GO_EXAMPLE_OUTPUT,
6+
JAVA_EXAMPLE_OUTPUT,
7+
JAVASCRIPT_EXAMPLE_OUTPUT,
8+
PYTHON_EXAMPLE_OUTPUT)
119
from mutahunter.core.prompts.system import SYSTEM_PROMPT
1210
from mutahunter.core.prompts.user import USER_PROMPT
1311

tests/test_report.py

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

55
import pytest
66

7-
from unittest.mock import mock_open, patch
8-
import json
97
from mutahunter.core.entities.config import MutahunterConfig
108
from mutahunter.core.entities.mutant import Mutant
119
from mutahunter.core.report import MutantReport

0 commit comments

Comments
 (0)