2024-12-15 18:48:28 +00:00
|
|
|
# Do not edit pyproject.toml, it is overwritten.
|
|
|
|
# Instead, edit dev.toml and/or server.toml
|
2024-12-12 00:38:28 +00:00
|
|
|
|
|
|
|
[tool.ruff]
|
2024-12-15 18:48:28 +00:00
|
|
|
# https://docs.astral.sh/ruff/configuration/
|
|
|
|
# we do not use black or isort, we use ruff instead
|
2024-12-15 23:31:48 +00:00
|
|
|
# to sort imports, ruff check --select I --fix
|
2024-12-12 00:38:28 +00:00
|
|
|
line-length=120
|
2024-12-15 18:48:28 +00:00
|
|
|
lint.ignore = ["E402", "F541"]
|
|
|
|
|
2024-12-12 00:38:28 +00:00
|
|
|
[project]
|
|
|
|
name = "troggle"
|
2024-12-14 03:25:20 +00:00
|
|
|
version = "2024.12.1"
|
2024-12-12 00:38:28 +00:00
|
|
|
description = "Troggle - cave data management"
|
|
|
|
readme = "README.md"
|
|
|
|
requires-python = ">=3.13"
|
|
|
|
dependencies = [
|
2024-12-14 03:25:20 +00:00
|
|
|
]
|
|
|
|
[dependency-groups]
|
|
|
|
dev = [
|
|
|
|
"django>=5",
|
2024-12-12 00:38:28 +00:00
|
|
|
"beautifulsoup4>=4.12.3",
|
2024-12-14 03:25:20 +00:00
|
|
|
"piexif>=1.1.3",
|
|
|
|
"pillow>=11.0.0",
|
|
|
|
"unidecode>=1.3.8",
|
2024-12-12 00:38:28 +00:00
|
|
|
"coverage>=7.6.9",
|
|
|
|
]
|
2024-12-14 03:25:20 +00:00
|
|
|
|
|
|
|
# conlficting groups not implemented in uv yet
|
|
|
|
# server = [
|
|
|
|
# "django>=3.2.19; python_version == '3.11.2'",
|
|
|
|
# "beautifulsoup4==4.11.2",
|
|
|
|
# "piexif==1.1.3",
|
|
|
|
# "pillow==9.4.0",
|
|
|
|
# "unidecode==1.3.6",
|
|
|
|
# ]
|