From da777f45eeb5674f4f946e1e460b8ca8e76e3226 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Tue, 10 Oct 2023 01:16:22 +0800 Subject: [PATCH] fix: fix the versions of torch-geometric and torch-scatter, and ignore flake8 linting on template files; --- .github/workflows/testing_ci.yml | 2 +- setup.cfg | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing_ci.yml b/.github/workflows/testing_ci.yml index 4cdfe5bc..5ea295cb 100644 --- a/.github/workflows/testing_ci.yml +++ b/.github/workflows/testing_ci.yml @@ -58,7 +58,7 @@ jobs: - name: Install other dependencies run: | pip install pypots - pip install torch-geometric torch-scatter torch-sparse -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html" + pip install torch-geometric==2.3.1 torch-scatter==2.1.1 torch-sparse -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html" pip install -e ".[dev]" - name: Fetch the test environment details diff --git a/setup.cfg b/setup.cfg index 9d07cea0..f33de353 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,8 @@ max-line-length = 120 extend-ignore = # why ignore E203? Refer to https://github.com/PyCQA/pycodestyle/issues/373 E203, +# ignore some errors that are not important in template files +exclude = pypots/*/template [options.extras_require]