-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (81 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
93 lines (81 loc) · 2.09 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
[tool.coverage.run]
source = ["backend"]
omit = ["tests/*", "backend/migrations/*", "backend/models.py"]
[tool.coverage.report]
fail_under = 90
skip_empty = true
[tool.coverage.html]
directory = ".tests_coverage"
[tool.ruff]
preview = true
line-length = 120
fix = true
output-format = "grouped"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "PLC0415", "ARG", "RUF059"]
[tool.ruff.format]
exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = false
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
warn_unused_ignores = true
strict_equality = true
extra_checks = true
warn_unused_configs = true
warn_redundant_casts = true
exclude = ["^scripts/"]
[project]
name = "github-metrics"
version = "0.1.0"
description = "Standalone metrics service for GitHub webhook event tracking and visualization"
readme = "README.md"
requires-python = ">=3.13"
license = "Apache-2.0"
authors = [{ name = "myakove" }]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"asyncpg>=0.30.0",
"sqlalchemy[asyncio]>=2.0.0",
"alembic>=1.14.0",
"pydantic>=2.9.0",
"python-simple-logger>=1.0.40",
"PyGithub>=2.4.0",
"httpx>=0.28.1",
"fastapi-mcp>=0.4.0,<0.5.0",
"pyyaml>=6.0.3",
"types-pyyaml>=6.0.12.20250915",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["backend"]
[dependency-groups]
dev = [
"ipdb>=0.13.13",
"ipython>=8.12.3",
"types-pyyaml>=6.0.12.20250915",
]
tests = [
"pytest-asyncio>=0.26.0",
"pytest-xdist>=3.7.0",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"pytest>=8.3.3",
"playwright>=1.56.0",
"pytest-playwright-asyncio>=0.7.2",
]