Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (110 loc) · 2.82 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (110 loc) · 2.82 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "job-agent"
version = "0.1.0"
description = "Autonomous, policy-gated multi-source job search agent"
readme = "README.md"
requires-python = ">=3.12,<3.15"
license = { text = "Proprietary" }
dependencies = [
"alembic>=1.16,<2",
"asyncpg>=0.30,<1",
"celery[redis]>=5.5,<6",
"cryptography>=50,<51",
"defusedxml>=0.7,<1",
"email-validator>=2.2,<3",
"fastapi>=0.116,<1",
"google-api-python-client>=2.176,<3",
"google-auth-oauthlib>=1.2,<2",
"httpx>=0.28,<1",
"socksio>=1.0.0,<2",
"itsdangerous>=2.2,<3",
"jinja2>=3.1,<4",
"mcp>=1.13,<2",
"numpy>=2,<3",
"nh3>=0.3,<1",
"openai>=2.46,<3",
"phonenumbers>=9,<10",
"prometheus-client>=0.22,<1",
"pwdlib[argon2]>=0.2,<1",
"pydantic>=2.11,<3",
"pydantic-settings>=2.10,<3",
"python-multipart>=0.0.20,<1",
"pyyaml>=6.0,<7",
"redis>=6,<7",
"selectolax>=0.3.32,<1",
"sqlalchemy[asyncio]>=2.0.41,<3",
"structlog>=25,<26",
"uvicorn[standard]>=0.35,<1",
]
[project.optional-dependencies]
playwright = [
"playwright>=1.54,<2",
"playwright-stealth>=2.0.3,<3",
]
dev = [
"aiosqlite>=0.21,<1",
"mypy>=1.17,<2",
"pip-audit>=2.9,<3",
"pre-commit>=4.2,<5",
"pytest>=9.0.3,<10",
"pytest-asyncio>=1.1,<2",
"pytest-cov>=6.2,<8",
"respx>=0.22,<1",
"ruff>=0.12,<1",
"types-pyyaml>=6.0,<7",
"types-defusedxml>=0.7,<1",
]
[project.scripts]
job-agent = "app.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["app", "fixture_site"]
[tool.pytest.ini_options]
addopts = "-ra --strict-markers --strict-config"
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"integration: requires local integration services",
"e2e: end-to-end pipeline test",
"live: opt-in live network smoke test",
"realcall: opt-in tests that place real GSM calls (never in CI)",
]
filterwarnings = ["error"]
[tool.ruff]
target-version = "py312"
line-length = 100
exclude = ["migrations/versions"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "ASYNC", "S", "RUF"]
ignore = ["S101"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S105", "S106", "S108", "S311"]
"tests/realcall/a06_originate.py" = ["S603", "S607"]
"app/admin/routes.py" = ["RUF001"]
"app/phone/script.py" = ["RUF001"]
"tests/realcall/test_realcall_phase_2a.py" = ["RUF001"]
"app/settings/config.py" = ["S104"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unreachable = true
plugins = ["pydantic.mypy"]
exclude = ["migrations"]
[[tool.mypy.overrides]]
module = [
"celery.*",
"googleapiclient.*",
"google_auth_oauthlib.*",
"nh3.*",
"selectolax.*",
"yaml.*",
"playwright.*",
"playwright_stealth",
"playwright_stealth.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["app.learning.model", "app.learning.features", "app.learning.training"]
warn_return_any = false