From b6d1633db59219272e8c39981bedf4d01d549e9b Mon Sep 17 00:00:00 2001 From: I748376 Date: Thu, 27 Jun 2024 09:03:36 +0000 Subject: [PATCH] sets default enabled rules to phase 1 rules --- prospector/core/prospector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prospector/core/prospector.py b/prospector/core/prospector.py index b92e53b7d..d1dc9c865 100644 --- a/prospector/core/prospector.py +++ b/prospector/core/prospector.py @@ -20,7 +20,7 @@ from git.version_to_tag import get_possible_tags from llm.llm_service import LLMService from log.logger import get_level, logger, pretty_log -from rules.rules import apply_rules +from rules.rules import RULES_PHASE_1, apply_rules from stats.execution import ( Counter, ExecutionTimer, @@ -66,7 +66,7 @@ def prospector( # noqa: C901 use_backend: str = USE_BACKEND_ALWAYS, git_cache: str = "/tmp/git_cache", limit_candidates: int = MAX_CANDIDATES, - enabled_rules: List[str] = [], + enabled_rules: List[str] = [rule.id for rule in RULES_PHASE_1], tag_commits: bool = True, silent: bool = False, use_llm_repository_url: bool = False,