We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08386a6 commit 662fa8cCopy full SHA for 662fa8c
src/vcspull/config.py
@@ -14,6 +14,7 @@
14
15
import yaml
16
17
+from libvcs._internal.query_list import QueryList
18
from libvcs._internal.shortcuts import create_project
19
from libvcs._internal.types import StrPath
20
from libvcs.sync.git import GitRemote
@@ -46,7 +47,7 @@ def __post_init__(self):
46
47
self.repos.append(create_project(**repo)) # type:ignore
48
49
def filter_repos(self, **kwargs) -> list["Repo"]:
- return [] # filter code
50
+ return QueryList(self.repos).filter(**kwargs)
51
52
@classmethod
53
def from_yaml_file(cls, file_path: pathlib.Path, cwd=pathlib.Path.cwd()):
0 commit comments