-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (87 loc) · 1.89 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (87 loc) · 1.89 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
[project]
name = "cfp-radar"
version = "0.1.0"
description = "AI-powered tech events and CFP tracker for CI/CD, DevOps, and Cloud Native communities"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"anthropic[vertex]",
"httpx",
"beautifulsoup4",
"fastapi",
"uvicorn[standard]",
"jinja2",
"python-dateutil",
"pyyaml",
"icalendar",
]
[dependency-groups]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"respx",
"ruff",
"mypy",
"types-python-dateutil",
"types-PyYAML",
]
[project.scripts]
cfp-radar = "src.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # line length handled by formatter
"SIM105", # contextlib.suppress - keep explicit try/except for clarity
]
[tool.ruff.lint.isort]
known-first-party = ["src"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
"anthropic",
"bs4",
"dateutil.*",
"icalendar",
]
ignore_missing_imports = true
[tool.coverage.run]
source = ["src"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]