feat(repo): switched to poetry for dependency management
Some checks failed
Pylint / Pylint (push) Failing after 32s

This commit is contained in:
Seaswimmer 2023-09-24 08:29:25 -04:00
parent d47239d717
commit 8cb4b3bb35
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8
3 changed files with 1985 additions and 4 deletions

View file

@ -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

File diff suppressed because it is too large Load diff

23
pyproject.toml Normal file
View 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"