-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (48 loc) · 1.07 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (48 loc) · 1.07 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
[project]
name = "cs-assistant"
version = "0.1.0"
description = "RAG-based assistant for Carleton CS students"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2",
"pydantic-settings",
"sqlalchemy[asyncio]",
"asyncpg",
"pgvector",
"alembic",
"httpx",
"langchain-text-splitters",
"celery",
"redis",
"discord-py>=2.7.1",
"beautifulsoup4>=4.15.0",
]
[dependency-groups]
dev = [
"pytest",
"pytest-asyncio",
"ruff",
"black",
"psycopg2-binary",
"pre-commit>=4.6.0",
"pytest-cov>=7.1.0",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.ruff.lint.per-file-ignores]
"src/completions/prompts.py" = ["E501"]
[tool.black]
line-length = 100
target-version = ["py312"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
asyncio_default_test_loop_scope = "session"
testpaths = ["tests"]
addopts = "--cov=src --cov-report=term-missing"
[tool.coverage.run]
source = ["src"]
omit = ["src/infrastructure/db/versions/*"]