This commit is contained in:
parent
e071ec8952
commit
56ecfea2f2
1 changed files with 7 additions and 4 deletions
|
@ -14,10 +14,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
add-apt-repository ppa:deadsnakes/ppa
|
add-apt-repository ppa:deadsnakes/ppa
|
||||||
apt install -y python3.11 gcc python3.11-dev python3.11-venv
|
apt install -y python3.11 gcc python3.11-dev python3.11-venv
|
||||||
|
- name: Install Poetry
|
||||||
|
run: |
|
||||||
|
curl -sSL https://install.python-poetry.org | python3.11 -
|
||||||
|
source $HOME/.poetry/env
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python3.11 -m pip install --upgrade pip
|
poetry install --with dev
|
||||||
python3.11 -m pip install pylint
|
|
||||||
python3.11 -m pip install -U Red-DiscordBot pytimeparse2 yt-dlp
|
|
||||||
- name: Analysing the code with Pylint
|
- name: Analysing the code with Pylint
|
||||||
run: pylint $(git ls-files '*.py')
|
run: |
|
||||||
|
poetry run pylint $(git ls-files '*.py')
|
||||||
|
|
Loading…
Reference in a new issue