aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml14
1 files changed, 8 insertions, 6 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 434163cc..81dcfa1c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ license = "MIT"
[tool.poetry.dependencies]
python = "3.11.*"
-django = "5.0.1"
+django = "5.0.2"
django-distill = "3.1.3"
django-environ = "0.11.2"
django-filter = "23.5"
@@ -22,14 +22,14 @@ PyJWT = {version = "2.8.0", extras = ["crypto"]}
pymdown-extensions = "10.7"
python-frontmatter = "1.1.0"
pyyaml = "6.0.1"
-sentry-sdk = "1.40.0"
+sentry-sdk = "1.40.3"
whitenoise = "6.6.0"
-psycopg = {extras = ["binary"], version = "3.1.17"}
+psycopg = {extras = ["binary"], version = "3.1.18"}
[tool.poetry.group.dev.dependencies]
python-dotenv = "1.0.1"
taskipy = "1.12.2"
-ruff = "0.1.15"
+ruff = "0.2.1"
[tool.poetry.group.lint.dependencies]
pre-commit = "3.6.0"
@@ -44,6 +44,9 @@ build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py311"
extend-exclude = [".cache"]
+line-length = 120
+
+[tool.ruff.lint]
ignore = [
"ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401",
"B904",
@@ -57,10 +60,9 @@ ignore = [
"S311",
"SIM102", "SIM108",
]
-line-length = 120
select = ["ANN", "B", "C4", "D", "DJ", "DTZ", "E", "F", "ISC", "INT", "N", "PGH", "PIE", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]
-[tool.ruff.per-file-ignores]
+[tool.ruff.lint.per-file-ignores]
"pydis_site/apps/**/migrations/*.py" = ["ALL"]
"manage.py" = ["T201"]
"pydis_site/apps/api/tests/base.py" = ["S106"]