From 5ec31ba1269b0a7cd38ed9561a7488ace93d1635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sat, 12 Apr 2025 11:35:50 +0200 Subject: [PATCH] Add Nox to development dependencies and format dependency entries --- pyproject.toml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2db974b..2dddda6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ ] [dependency-groups] -dev = ["pytest"] +dev = ["pytest", "nox"] [tool.poetry] name = "discord-reminder-bot" @@ -47,40 +47,41 @@ python = "^3.10" # https://github.com/agronholm/apscheduler # https://github.com/sqlalchemy/sqlalchemy # For scheduling reminders, sqlalchemy is needed for storing reminders in a database -sqlalchemy = {version = ">=2.0.37,<3.0.0"} -apscheduler = {version = ">=3.11.0,<4.0.0"} +sqlalchemy = { version = ">=2.0.37,<3.0.0" } +apscheduler = { version = ">=3.11.0,<4.0.0" } # https://github.com/scrapinghub/dateparser # For parsing dates and times in /remind commands -dateparser = {version = ">=1.0.0"} +dateparser = { version = ">=1.0.0" } # https://github.com/Rapptz/discord.py # https://github.com/jackrosenthal/legacy-cgi # https://github.com/AbstractUmbra/audioop # The Discord bot library uses discord.py # legacy-cgi and audioop-lts are because Python 3.13 removed cgi module and audioop module -discord-py = {version = ">=2.4.0,<3.0.0", extras = ["speed"]} -legacy-cgi = {version = ">=2.6.2,<3.0.0", markers = "python_version >= '3.13'"} -audioop-lts = {version = ">=0.2.1,<1.0.0", markers = "python_version >= '3.13'"} +discord-py = { version = ">=2.4.0,<3.0.0", extras = ["speed"] } +legacy-cgi = { version = ">=2.6.2,<3.0.0", markers = "python_version >= '3.13'" } +audioop-lts = { version = ">=0.2.1,<1.0.0", markers = "python_version >= '3.13'" } # https://github.com/lovvskillz/python-discord-webhook # For sending webhook messages to Discord -discord-webhook = {version = ">=1.3.1,<2.0.0"} +discord-webhook = { version = ">=1.3.1,<2.0.0" } # https://github.com/theskumar/python-dotenv # For loading environment variables from a .env file -python-dotenv = {version = ">=1.0.1,<2.0.0"} +python-dotenv = { version = ">=1.0.1,<2.0.0" } # https://github.com/getsentry/sentry-python # For error tracking -sentry-sdk = {version = ">=2.20.0,<3.0.0"} +sentry-sdk = { version = ">=2.20.0,<3.0.0" } # https://github.com/Delgan/loguru # For logging -loguru = {version = ">=0.7.3,<1.0.0"} +loguru = { version = ">=0.7.3,<1.0.0" } [tool.poetry.dev-dependencies] pytest = "*" +nox = "*" [build-system] requires = ["poetry-core>=1.0.0"]