-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (57 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
65 lines (57 loc) · 1.54 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
[project]
name = "github-contributor-leaderboard"
version = "1.0.0"
description = "A comprehensive system for scraping, scoring, and ranking GitHub contributors across multiple repositories"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "Your Name", email = "your@email.com" }]
dependencies = [
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"sqlalchemy>=2.0.25",
"asyncpg>=0.29.0",
"psycopg2-binary>=2.9.9", # Sync PostgreSQL driver for Celery workers
"alembic>=1.13.1",
"pydantic>=2.5.0",
"pydantic-settings>=2.1.0",
"redis>=5.0.1",
"celery>=5.3.6",
"httpx>=0.26.0",
"google-cloud-bigquery>=3.14.1",
"python-dotenv>=1.0.0",
"structlog>=24.1.0",
"tenacity>=8.2.3",
"PyGithub>=2.1.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.4",
"pytest-asyncio>=0.23.3",
"pytest-cov>=4.1.0",
"ruff>=0.1.14",
"mypy>=1.8.0",
"pre-commit>=3.6.0",
"httpx>=0.26.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
ignore = [
"E501", # Line too long (handled by formatter)
"B008", # Function call in default argument - standard FastAPI pattern for Depends()
]
[tool.mypy]
python_version = "3.11"
strict = true
plugins = ["pydantic.mypy"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]