feat: update presets
This commit is contained in:
@@ -13,13 +13,15 @@ logger = logging.getLogger("project")
|
||||
|
||||
|
||||
class ProjectManager:
|
||||
DEFAULT_PRESET = Path(__file__).parent / "default_preset.toml"
|
||||
DEFAULT_IGNORE = ["node_modules", ".venv", ".git"]
|
||||
_logger = logger
|
||||
|
||||
def __init__(self, basepath: Path):
|
||||
self._basepaht = basepath
|
||||
self._resolver = EntryResolver(
|
||||
PresetEntryDetector(Path(__file__).parent / "default_preset.toml"),
|
||||
["node_modules", ".venv", ".git"],
|
||||
PresetEntryDetector(self.DEFAULT_PRESET),
|
||||
self.DEFAULT_IGNORE,
|
||||
)
|
||||
|
||||
def _iter_entries(self) -> Iterable[Entry]:
|
||||
|
||||
Reference in New Issue
Block a user