mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-15 06:16:18 +00:00
ProjectConfig: Remove to-string exclusions
This commit is contained in:
1 parent
8f9415ec3c
commit
a4a8c19f6c
1 file changed
-3
@@ -50,9 +50,6 @@ class ProjectConfig(ToStringMixin):
|
|||||||
self.ignored_dirs: list[str] = config_dict.get("ignored_dirs", [])
|
self.ignored_dirs: list[str] = config_dict.get("ignored_dirs", [])
|
||||||
self.excluded_tools: set[str] = set(config_dict.get("excluded_tools", []))
|
self.excluded_tools: set[str] = set(config_dict.get("excluded_tools", []))
|
||||||
|
|
||||||
def _tostring_excludes(self) -> list[str]:
|
|
||||||
return ["ignored_dirs", "excluded_tools"]
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_yml(cls, yml_path: Path) -> Self:
|
def from_yml(cls, yml_path: Path) -> Self:
|
||||||
with open(yml_path, encoding="utf-8") as f:
|
with open(yml_path, encoding="utf-8") as f:
|
||||||
|
|||||||
Reference in new issue
Block a user