feat: add preset skip flag
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from cmath import pi
|
||||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
@@ -19,6 +18,8 @@ class PresetEntryDetector(EntryDetector):
|
||||
|
||||
def detect_entry(self, basepath: Path) -> Optional["Entry"]:
|
||||
preset = PresetResolver(basepath, self._preset_resolver_config).resolve_preset()
|
||||
if preset.skip:
|
||||
return
|
||||
piperunner = PipeRunner(basepath)
|
||||
tasks = defaultdict(list)
|
||||
for preset_name, preset in preset.presets.items():
|
||||
|
||||
Reference in New Issue
Block a user