-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (63 loc) · 1.38 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (63 loc) · 1.38 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
69
70
71
[project]
name = "crypto-tracker"
version = "0.1.0"
description = "Crypto tracker for Deribit"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiohttp>=3.13.3",
"alembic>=1.18.1",
"asyncpg>=0.31.0",
"celery>=5.6.2",
"fastapi>=0.128.0",
"greenlet>=3.3.0",
"pydantic-settings>=2.12.0",
"python-decouple>=3.8",
"redis>=7.1.0",
"rich>=14.2.0",
"sqlalchemy>=2.0.45",
"uvicorn[standard]>=0.40.0",
]
[dependency-groups]
dev = [
"coverage>=7.13.1",
"httpx>=0.28.1",
"mypy>=1.19.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"types-redis>=4.6.0.20241004",
]
[tool.coverage.run]
source = ["app"]
omit = [
"tests/*",
".venv/*",
"*/__init__.py",
"app/main.py"
]
[tool.coverage.report]
skip_covered = true
show_missing = true
skip_empty = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"def __repr__",
"raise NotImplementedError"
]
[tool.mypy]
python_version = "3.12"
strict = true
ignore_missing_imports = true
exclude = ["venv", ".venv", "alembic", "dashboard.py"]
plugins = ["pydantic.mypy", "sqlalchemy.ext.mypy.plugin"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
disallow_untyped_calls = false
disallow_incomplete_defs = false
[tool.pytest.ini_options]
pythonpath = "."
testpaths = ["tests"]
asyncio_mode = "auto"