feat(repo): switched to poetry for dependency management
Some checks failed
Pylint / Pylint (push) Failing after 32s
Some checks failed
Pylint / Pylint (push) Failing after 32s
This commit is contained in:
parent
d47239d717
commit
8cb4b3bb35
3 changed files with 1985 additions and 4 deletions
|
@ -14,10 +14,9 @@ jobs:
|
|||
run: |
|
||||
add-apt-repository ppa:deadsnakes/ppa
|
||||
apt install -y python3.11 gcc python3-dev
|
||||
- name: Install Poetry
|
||||
run: curl -sSL https://install.python-poetry.org | python3.11 -
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pylint
|
||||
pip install -U Red-DiscordBot pytimeparse2 yt-dlp
|
||||
run: poetry install --with dev
|
||||
- name: Analysing the code with Pylint
|
||||
run: pylint $(git ls-files '*.py')
|
||||
|
|
1959
poetry.lock
generated
Normal file
1959
poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
23
pyproject.toml
Normal file
23
pyproject.toml
Normal file
|
@ -0,0 +1,23 @@
|
|||
[tool.poetry]
|
||||
name = "galaxycogs"
|
||||
version = "0.1.0"
|
||||
description = "Custom cogs/cog modifications intended for the Galaxy discord server."
|
||||
authors = ["Galaxy Discord Management Team"]
|
||||
license = "MPL 2"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.11,<3.12"
|
||||
Red-DiscordBot = "^3.5.5"
|
||||
pytimeparse2 = "^1.7.1"
|
||||
yt-dlp = "^2023.9.24"
|
||||
|
||||
[tool.poetry.group.dev]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pylint = "^2.17.5"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
Loading…
Reference in a new issue