chore: Switch to uv

This commit is contained in:
nikolark committed 2025-05-30 15:26:51 +02:00
1 parent cac189003a
commit d256e0eb7e
7 files changed
+627 -1171

No files matched your search

+24 -36
View File
@@ -1,43 +1,31 @@
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "bbs.settings"
[tool.black]
line-length = 120
target_version = ['py39']
[tool.isort]
profile = "black"
line_length = 120
[tool.poetry]
[project]
name = "bbs"
version = "0.1.0"
description = ""
authors = ["Nikolai R Kristiansen <nikolaik@gmail.com>"]
authors = [{ name = "Nikolai R Kristiansen", email = "nikolaik@gmail.com" }]
requires-python = ">=3.8,<3.9"
license = "MIT"
dependencies = [
"django-cors-headers>=3.10.0,<4",
"django-extensions>=3.1.3,<4",
"django-rename-app>=0.1.3,<0.2",
"Django==4.2.*",
"easy-thumbnails>=2.8.1,<3",
"gunicorn>=20.1.0,<21",
"mysqlclient>=2.0.3,<3",
"Pillow>=9.0.0,<10",
"sentry-sdk>=1.5.5,<2",
"strawberry-graphql-django>=0.2.5,<0.3",
"strawberry-graphql>=0.97.0,<0.98",
]
[tool.poetry.dependencies]
python = "~3.8"
django-extensions = "^3.1.3"
Django = "^4.0.0"
easy-thumbnails = "^2.8.1"
gunicorn = "^20.1.0"
mysqlclient = "^2.0.3"
Pillow = "^9.0.0"
sentry-sdk = "^1.5.5"
strawberry-graphql = "^0.97.0"
strawberry-graphql-django = "^0.2.5"
django-cors-headers = "^3.10.0"
django-rename-app = "^0.1.3"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "bbs.settings"
[tool.poetry.dev-dependencies]
pytest = "*"
black = "*"
pytest-django = "*"
pre-commit = "*"
isort = "*"
[dependency-groups]
dev = [
"ruff",
"pytest-django",
"pytest",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"