fix(CI): lint job - fix for python 3.12

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2024-04-28 17:49:08 +02:00
parent afb7af3e27
commit 43b322e739
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296

View file

@ -24,8 +24,6 @@ lint:
- pacman -Syu --noconfirm --noprogressbar --cachedir .pkg-cache
git python python-pre-commit
script:
# https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
- export SETUPTOOLS_USE_DISTUTILS=stdlib
- export XDG_CACHE_HOME=.pre-commit
- pre-commit run -a