From 4bbccdee6440c1b534b62774b3ba9b9de54d2335 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 | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 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..5053d8711a 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -2,3 +2,19 @@ Requirements for testing: - If using python < 3.3, requires the mock library (this is available in the standard library in python 3.3+) + +python +pandas +tqdm +scipy +netcdf4 +requests +packaging +numpy +xarray +xesmf +numba +pylint +black +cartopy +matplotlib