44 lines
947 B
TOML
44 lines
947 B
TOML
[project]
|
|
name = "address-service"
|
|
version = "0.1.0"
|
|
description = "Microservice for searching FIAS addresses"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"address",
|
|
"django>=5.2,<6.0",
|
|
"django-environ>=0.12,<1.0",
|
|
"gunicorn>=23.0,<24.0",
|
|
"grpcio>=1.70,<2.0",
|
|
"grpcio-reflection>=1.70,<2.0",
|
|
"protobuf>=7.35,<8.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["grpcio-tools>=1.70,<2.0", "pytest>=8.3", "pytest-django>=4.10"]
|
|
|
|
[tool.uv]
|
|
package = false
|
|
|
|
[tool.uv.workspace]
|
|
members = ["packages/address"]
|
|
|
|
[tool.uv.sources]
|
|
address = { workspace = true }
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "address_service.settings"
|
|
python_files = ["test_*.py", "*_tests.py"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
extend-exclude = [
|
|
"address_service/grpc/*_pb2.py",
|
|
"address_service/grpc/*_pb2.pyi",
|
|
"address_service/grpc/*_pb2_grpc.py",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I"]
|