From 78309ef36831f2a2517a6dfd53de58d8b2e77324 Mon Sep 17 00:00:00 2001 From: Tom Kazimiers Date: Thu, 5 Dec 2024 12:21:02 +0100 Subject: [PATCH] CI: move type requirements to Python linting --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52094c29d9..bcec3249cd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,6 +16,7 @@ jobs: - run: | pip install "$(grep -E '^flake8' django/requirements-test.txt)" pip install "$(grep -E '^mypy' django/requirements-test.txt)" + pip install django/requirements-types.txt name: Install lint tools - run: flake8 --statistics --count django - run: mypy django/ @@ -52,7 +53,7 @@ jobs: with: path: ~/.cache/pip key: ${{ runner.os }}-pip-py_${{ matrix.python-version }}-${{ hashFiles('django/requirements*.txt') }} - - run: pip install ./django[test,types,async] coveralls + - run: pip install ./django[test,async] coveralls - run: bash scripts/travis/setup_database.sh - run: bash scripts/travis/configure_catmaid.sh - run: bash scripts/travis/configure_pypy_libs.sh