We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73f14f0 commit f0ffe43Copy full SHA for f0ffe43
src/vcspull/config.py
@@ -16,6 +16,7 @@
16
import kaptan
17
import yaml
18
19
+from libvcs._internal.query_list import QueryList
20
from libvcs._internal.shortcuts import create_project
21
from libvcs._internal.types import StrPath
22
from libvcs.sync.git import GitRemote
@@ -47,7 +48,7 @@ def __post_init__(self):
47
48
self.repos.append(create_project(**repo)) # type:ignore
49
50
def filter_repos(self, **kwargs) -> list["Repo"]:
- return [] # filter code
51
+ return QueryList(self.repos).filter(**kwargs)
52
53
@classmethod
54
def from_yaml_file(cls, file_path: pathlib.Path, cwd=pathlib.Path.cwd()):
0 commit comments