forked from sr2/cloud-api
feat: project consistency
This commit is contained in:
parent
7804816a1a
commit
cb70f17ad5
16 changed files with 572 additions and 219 deletions
|
|
@ -1,22 +1,10 @@
|
|||
[tool.uv]
|
||||
add-bounds = "major"
|
||||
exclude-newer = "P2W"
|
||||
|
||||
[tool.ruff]
|
||||
exclude = [
|
||||
".alembic"
|
||||
]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
indent-style = "tab"
|
||||
|
||||
[project]
|
||||
name = "cloud-api"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
description = "IAM and accounting microservice for SR2 Cloud"
|
||||
license = "BSD-2"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.14"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"alembic>=1.18.4",
|
||||
"email-validator>=2.3.0",
|
||||
|
|
@ -29,7 +17,6 @@ dependencies = [
|
|||
"psycopg[binary]>=3.3.4",
|
||||
"pydantic>=2.13.4",
|
||||
"pydantic-settings>=2.14.1",
|
||||
"pytest>=9.0.3",
|
||||
"python-dotenv>=1.2.2",
|
||||
"requests>=2.34.2",
|
||||
"ruff>=0.15.14,<0.16.0",
|
||||
|
|
@ -38,3 +25,21 @@ dependencies = [
|
|||
"uvicorn>=0.48.0",
|
||||
"uvloop>=0.22.1 ; sys_platform != 'win32'",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
exclude = ["alembic"]
|
||||
target-version = "py312"
|
||||
line-length = 92
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
|
||||
[tool.uv]
|
||||
add-bounds = "major"
|
||||
exclude-newer = "P2W"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=9.0.3",
|
||||
"ty>=0.0.44,<0.0.45",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue