Repository: halluxdev/hallux (language: python)

Issue:
[New feature]: eslint  
or other javascript stuff
[New feature]: eslint  
or other javascript stuff


Discussion / hints:

Fix patch:
diff --git a/.gitignore b/.gitignore
index 7d6e8ad..201f775 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,4 @@ __pycache__
 repos/
 data/
 .ruff_cache
-.coverage
+.coverage*
diff --git a/bin/hallux b/bin/hallux
index 64c57f9..a42abb1 100755
--- a/bin/hallux
+++ b/bin/hallux
@@ -20,8 +20,8 @@ from targets.diff_target import DiffTarget
 from targets.filesystem_target import FilesystemTarget
 from targets.git_commit_target import GitCommitTarget
 from targets.github_proposal_traget import GithubProposalTraget
-from cpp.cpp import CppProcessor
-from python.python import PythonProcessor
+from processors.cpp.cpp import CppProcessor
+from processors.python.python import PythonProcessor
 
 DEBUG : Final[bool] = False
 HALLUX_CONFIG_FILE = ".hallux"
diff --git a/bin/cpp/cpp.py b/bin/processors/cpp/cpp.py
similarity index 98%
rename from bin/cpp/cpp.py
rename to bin/processors/cpp/cpp.py
index bdf73b8..206022e 100644
--- a/bin/cpp/cpp.py
+++ b/bin/processors/cpp/cpp.py
@@ -5,7 +5,7 @@
 from query_backend import QueryBackend
 from targets.diff_target import DiffTarget
 from code_processor import CodeProcessor, set_directory
-from cpp.make_compile import MakeCompile_IssueSolver
+from processors.cpp.make_compile import MakeCompile_IssueSolver
 import subprocess
 import os
 import tempfile
diff --git a/bin/cpp/make_compile.py b/bin/processors/cpp/make_compile.py
similarity index 100%
rename from bin/cpp/make_compile.py
rename to bin/processors/cpp/make_compile.py
diff --git a/bin/python/python.py b/bin/processors/python/python.py
similarity index 96%
rename from bin/python/python.py
rename to bin/processors/python/python.py
index ac3df71..1b42d68 100644
--- a/bin/python/python.py
+++ b/bin/processors/python/python.py
@@ -5,7 +5,7 @@
 from targets.diff_target import DiffTarget
 from code_processor import CodeProcessor, set_directory
 from pathlib import Path
-from python.ruff import Ruff_IssueSolver
+from processors.python.ruff import Ruff_IssueSolver
 
 
 class PythonProcessor(CodeProcessor):
diff --git a/bin/python/ruff.py b/bin/processors/python/ruff.py
similarity index 100%
rename from bin/python/ruff.py
rename to bin/processors/python/ruff.py


Test patch:
diff --git a/tests/integration/hallux_commit_test.py b/tests/integration/hallux_commit_test.py
index a934e70..59e2d46 100644
--- a/tests/integration/hallux_commit_test.py
+++ b/tests/integration/hallux_commit_test.py
@@ -13,7 +13,6 @@
 
 from integration.hallux_fix_test import test_hallux_fix_python, test_hallux_fix_cpp
 
-
 def test_hallux_commit_cpp(proj_name: str = "test-cpp-project", tmp_proj_dir: str | None = None):
     if tmp_proj_dir is None:
         if not Path("/tmp/hallux").exists():