Skip to content

Commit

Permalink
pip install requirements in pylint workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Feb 14, 2025
1 parent 665e642 commit b5752fa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
18 changes: 14 additions & 4 deletions python/requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b5752fa

Please sign in to comment.