Fix pyrefly warning
... that for some reason only appears in VSCode, not when running pyrefly manually.
This commit is contained in:
parent
cdbe8d195a
commit
0b95901703
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class Pacman(Module):
|
||||||
return set(self._pacman_capture("-Qqe").splitlines())
|
return set(self._pacman_capture("-Qqe").splitlines())
|
||||||
|
|
||||||
def _get_groups(self) -> dict[str, set[str]]:
|
def _get_groups(self) -> dict[str, set[str]]:
|
||||||
groups = {}
|
groups: dict[str, set[str]] = {}
|
||||||
for line in self._pacman_capture("-Sgg").splitlines():
|
for line in self._pacman_capture("-Sgg").splitlines():
|
||||||
group, package = line.split(" ", maxsplit=1)
|
group, package = line.split(" ", maxsplit=1)
|
||||||
groups.setdefault(group, set()).add(package)
|
groups.setdefault(group, set()).add(package)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue