← Commit list

139ce4d37c

Viktor Szakats
Viktor Szakats
2026-06-19
SUCCESS Duration: 181s

Subject

GHA: separate pytype from other checkers and pips

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

.github/scripts/requirements.txt+0 -1
@@ -4,6 +4,5 @@
cmakelang==0.6.13
codespell==2.4.2
-pytype==2024.10.11
reuse==6.2.0
ruff==0.15.16
.github/workflows/checksrc.yml+20 -4
@@ -88,15 +88,31 @@ jobs:
run: |
scripts/perlcheck.sh
- - name: 'pytype'
+ - name: 'ruff'
run: |
source ~/venv/bin/activate
- find . -name '*.py' -exec pytype -j auto -k -- {} +
+ scripts/pythonlint.sh
- - name: 'ruff'
+ pytype:
+ name: 'pytype'
+ runs-on: ubuntu-24.04-arm # pytype is discontinued and requires python 3.8-3.12
+ steps:
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+
+ - name: 'install prereqs'
+ run: |
+ python3 -m venv ~/venv
+ ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary pytype==2024.10.11 \
+ -r .github/scripts/requirements.txt \
+ -r tests/http/requirements.txt \
+ -r tests/requirements.txt
+
+ - name: 'check'
run: |
source ~/venv/bin/activate
- scripts/pythonlint.sh
+ find . -name '*.py' -exec pytype -j auto -k -- {} +
complexity:
name: 'complexity and function sizes'