Fixed Pylint to work w/ Poetry

This commit is contained in:
Vegard Berg 2022-07-21 21:30:15 +02:00
parent 2357c835a6
commit 281c60a738
1 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pylint pip install poetry
poetry install
- name: Analysing the code with pylint - name: Analysing the code with pylint
run: | run: |
pylint $(git ls-files '*.py') poetry run pylint $(git ls-files '*.py')