-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (60 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
67 lines (60 loc) · 1.49 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
[project]
name = "cims-backend"
version = "0.1.0"
description = "ClassIsland Management Server Backend"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"psycopg[binary]~=3.3.0",
"redis[hiredis]~=7.3.0",
"alembic~=1.18.0",
"fastapi~=0.135.0",
"grpcio-reflection~=1.78.0",
"grpcio-tools~=1.78.0",
"grpcio~=1.78.0",
"protobuf~=6.33.0",
"pydantic-settings~=2.13.0",
"pydantic~=2.12.0",
"sqlalchemy~=2.0.48",
"uvicorn[standard]~=0.41.0",
"pgpy~=0.6.0",
"standard-imghdr~=3.13.0",
"argon2-cffi~=25.1.0",
"pydantic[email]~=2.12.0",
"pyotp~=2.9.0",
]
[project.scripts]
cims = "app.main:main"
[dependency-groups]
dev = [
"black",
"httpx",
"pyright",
"pytest",
"pytest-asyncio",
"pytest-cov",
"ruff",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.pytest.ini_options]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
addopts = "-W ignore::DeprecationWarning:imghdr"
filterwarnings = [
"error",
"ignore::cryptography.utils.CryptographyDeprecationWarning",
"ignore:Selected compression algorithm:UserWarning",
"ignore::pytest.PytestUnraisableExceptionWarning",
"ignore:coroutine.*was never awaited:RuntimeWarning",
"ignore:imghdr was removed:DeprecationWarning",
]
[tool.coverage.run]
concurrency = ["greenlet", "thread"]
omit = [
"app/grpc/api/Protobuf/*",
"app/main.py",
]