From b5752fac04335b7f1fc8a6cc95f35f6fb68e785c Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Fri, 14 Feb 2025 13:49:48 -0700 Subject: [PATCH] pip install requirements in pylint workflow. --- .github/workflows/pylint.yml | 4 ++-- python/requirements.txt | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 439d89a583..9491b885a0 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint + pip install -r python/requirements.txt - name: Analysing the code with pylint run: | cd python @@ -40,7 +40,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint + pip install -r python/requirements.txt - name: Analysing the code with pylint run: | cd python diff --git a/python/requirements.txt b/python/requirements.txt index 1343e7edb4..18029185b9 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,4 +1,14 @@ -Requirements for testing: - -- If using python < 3.3, requires the mock library (this is available in - the standard library in python 3.3+) +pandas +tqdm +scipy +netcdf4 +requests +packaging +numpy +xarray +xesmf +numba +pylint +black +cartopy +matplotlib