address-service/pyproject.toml

38 lines
893 B
TOML

[project]
name = "address-service"
version = "0.1.0"
description = "Microservice for searching FIAS addresses"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"django>=5.2,<6.0",
"django-constance>=4.3.4,<5.0",
"django-environ>=0.12,<1.0",
"django-ninja>=1.4,<2.0",
"grpcio>=1.70,<2.0",
"grpcio-reflection>=1.70,<2.0",
"gunicorn>=23.0,<24.0",
"protobuf>=7.35,<8.0",
"psycopg[binary]>=3.2,<4.0",
"redis>=5.0,<7.0",
]
[dependency-groups]
dev = ["grpcio-tools>=1.70,<2.0", "pytest>=8.3", "pytest-django>=4.10"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "address.settings"
python_files = ["test_*.py", "*_tests.py"]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = [
"address/grpc/*_pb2.py",
"address/grpc/*_pb2.pyi",
"address/grpc/*_pb2_grpc.py",
]
[tool.ruff.lint]
select = ["E", "F", "I"]