Skip to content

Commit

Permalink
ci: workaround pylint + GTK3 issue
Browse files Browse the repository at this point in the history
pylint confuses GTK3 and GTK4, see details at
Workaround for pylint-dev/astroid#2190
  • Loading branch information
marmarek committed Jul 5, 2024
1 parent 7f11555 commit 6179e39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ checks:tests:

checks:pylint:
before_script:
- sudo dnf install -y python3-gobject gtk3 xorg-x11-server-Xvfb python3-mypy gtksourceview4 python3-pip
- sudo dnf install -y python3-gobject gtk3 xorg-x11-server-Xvfb python3-mypy gtksourceview4 python3-pip curl
- pip3 install --quiet -r ci/requirements.txt
- mypy --install-types --non-interactive
# remove when https://github.com/pylint-dev/astroid/issues/2190 is fixed
- file_to_patch=$(python3 -c 'import astroid.builder;print(astroid.builder.__file__)') &&
curl -sSL https://github.com/QubesOS/qubes-continuous-integration/raw/main/scripts/pylint-astroid-workaround-2190.patch | sudo patch "$file_to_patch"
- git clone https://github.com/QubesOS/qubes-core-admin-client ~/core-admin-client
- git clone https://github.com/QubesOS/qubes-core-qrexec ~/core-qrexec
script:
Expand Down

0 comments on commit 6179e39

Please sign in to comment.