Merge pull request 'CI: typecheck fixes include dependencies + arch Dockerfile build fix' (#148) from fix/cli-typecheck into main

Reviewed-on: #148
Reviewed-by: zach <zach@brohn.se>
This commit was merged in pull request #148.
This commit is contained in:
2026-08-15 18:03:54 +02:00
3 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ jobs:
py3-pip py3-pip
python3 -m venv .venv python3 -m venv .venv
. .venv/bin/activate . .venv/bin/activate
pip install --no-cache-dir basedpyright pip install --no-cache-dir basedpyright typer pillow materialyoucolor jinja2
- name: Type check - name: Type check
run: | run: |
+17 -7
View File
@@ -30,14 +30,24 @@ RUN pacman -S --noconfirm \
glib2 glib2
# AUR: libcava (provides development headers for cava) # AUR: libcava (provides development headers for cava)
RUN pacman -S --needed --noconfirm sudo && \ RUN pacman -Syu --noconfirm && \
pacman -S --needed --noconfirm \
sudo \
meson \
autoconf-archive \
python-tqdm && \
useradd -m builder && \ useradd -m builder && \
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
su builder -c " \
git clone https://aur.archlinux.org/libcava.git /tmp/libcava && \ RUN for i in 1 2 3 4 5; do \
cd /tmp/libcava && \ rm -rf /tmp/libcava && \
makepkg -si --noconfirm \ git clone --depth 1 https://aur.archlinux.org/libcava.git /tmp/libcava && \
" && \ break || sleep 5; \
done && \
test -d /tmp/libcava/.git && \
chown -R builder /tmp/libcava
RUN su builder -c "cd /tmp/libcava && makepkg -si --noconfirm" && \
rm -rf /tmp/libcava && \ rm -rf /tmp/libcava && \
userdel -r builder && \ userdel -r builder && \
sed -i '/^builder/d' /etc/sudoers sed -i '/^builder/d' /etc/sudoers
+3
View File
@@ -13,6 +13,9 @@ dependencies = [
"materialyoucolor" "materialyoucolor"
] ]
[project.optional-dependencies]
dev = ["pytest"]
[project.scripts] [project.scripts]
zshell-cli = "zshell:main" zshell-cli = "zshell:main"