-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (46 loc) · 1.15 KB
/
Copy pathpyproject.toml
File metadata and controls
54 lines (46 loc) · 1.15 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
[tool.poetry]
name = "medium-digest-agent"
version = "0.1.0"
description = "AI-powered agent that curates and summarizes Medium articles across key technical interests"
authors = ["Terry <terry@example.com>"]
readme = "README.md"
packages = [{include = "medium_digest", from = "src"}]
[tool.poetry.dependencies]
python = "^3.12"
feedparser = "*"
requests = "*"
anthropic = "*"
python-dateutil = "^2.9.0.post0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
black = "^24.0.0"
ruff = "^0.3.0"
pre-commit = "^3.6.0"
[tool.poetry.scripts]
medium-digest = "medium_digest.main:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ['py312']
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
ignore = [
"E501", # line too long, handled by black
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]