-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (62 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
68 lines (62 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sheaf"
version = "0.1.0"
description = "Open-source plural system tracking"
license = "AGPL-3.0-or-later"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"sqlalchemy[asyncio]>=2.0.0",
"asyncpg>=0.30.0",
"alembic>=1.14.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"argon2-cffi>=23.1.0",
"PyJWT>=2.9.0",
"pyotp>=2.9.0",
"redis[hiredis]>=5.0.0",
"PyNaCl>=1.5.0",
"python-multipart>=0.0.27",
"email-validator>=2.1.0",
"aiofiles>=24.1.0",
"altcha>=0.2.0",
"httpx>=0.28.0",
"pywebpush>=2.0.0",
"croniter>=2.0.0",
]
[project.optional-dependencies]
s3 = ["boto3>=1.35.0"]
ses = ["boto3>=1.35.0"]
sendgrid = ["httpx>=0.28.0"]
smtp = ["aiosmtplib>=3.0.0"]
dev = [
"pytest>=9.0.3",
"pytest-asyncio>=0.24.0",
"httpx>=0.28.0",
"ruff>=0.9.0",
]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["B008"]
[tool.ruff.lint.per-file-ignores]
"sheaf/models/*.py" = ["F821"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
testpaths = ["tests"]
markers = [
"admin_auth_password: requires server running with ADMIN_AUTH_LEVEL=password",
"admin_auth_totp: requires server running with ADMIN_AUTH_LEVEL=totp",
"saas: requires server running with SHEAF_MODE=saas",
"rate_limit: requires server running with RATE_LIMIT_ENABLED=true",
"uploads_disabled: requires server running with ALLOW_IMAGE_UPLOADS=false",
"bio_uploads_disabled: requires server running with ALLOW_BIO_IMAGES=false",
"external_images_disabled: requires server running with ALLOW_EXTERNAL_IMAGES=false",
]