Skip to content

Commit

Permalink
attempt 6/n: poetry may be causing problems; get rid of it from this …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
aalok-sathe committed Nov 22, 2023
1 parent bde98ad commit 33854d1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ jobs:
- name: Install poetry and pylint
run: |
python -m pip install --upgrade pip
sudo apt install curl
curl -sSL https://install.python-poetry.org | python -
pip install pylint
- name: Install dependencies using poetry
run: |
poetry install -E transformers -E kenlm -E openai
- name: Install dependencies
run: pip install .[transformers,kenlm,openai]
- name: Analysing the code with pylint
run: |
poetry run pylint $(git ls-files 'surprisal/*.py')
pylint $(git ls-files 'surprisal/*.py')

0 comments on commit 33854d1

Please sign in to comment.