forked from eli64s/readme-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
112 lines (102 loc) · 2.27 KB
/
pyproject.toml
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
100
101
102
103
104
105
106
107
108
109
110
111
112
[tool.poetry]
name = "readmeai"
version = "0.5.082"
description = "README file generator, powered by large language model APIs 👾"
authors = ["Eli <egsalamie@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/eli64s/readme-ai"
documentation = "https://eli64s.github.io/readme-ai"
keywords = [
"ai",
"ai-documentation",
"badge-generator",
"developer-tools",
"devtools",
"documentation",
"documentation-generator",
"markdown",
"markdown-generator",
"python",
"readme",
"readme-generator",
"readme-md",
"readme-md-generator",
"readme-template",
]
include = ["readmeai", "readmeai.*"]
[tool.poetry.scripts]
readmeai = "readmeai.cli.main:main"
[tool.poetry.dependencies]
python = "^3.9,<4.0.0"
aiohttp = "^3.9.5"
click = "^8.1.7"
gitpython = "^3.1.31"
google-generativeai = "^0.7.1"
openai = "^1.16.2"
pydantic = "^2.8.0"
pydantic-extra-types = "^2.9.0"
pyyaml = "^6.0.1"
requests = "^2.32.3"
tenacity = "^8.2.2"
tiktoken = "^0.4.0"
[tool.poetry.group.dev.dependencies]
mypy = "*"
pre-commit = "*"
ruff = "*"
[tool.poetry.group.test.dependencies]
pytest = "=7.4.4"
pytest-asyncio = "*"
pytest-cov = "*"
pytest-randomly = "*"
pytest-sugar = "*"
pytest-xdist = "*"
[tool.poetry.group.docs.dependencies]
mkdocs = "*"
mkdocs-material = "*"
[tool.poetry.group.anthropic]
optional = true
[tool.poetry.group.anthropic.dependencies]
anthropic = "*"
[tool.pytest.ini_options]
addopts = [
"-vvv",
"-rfEsxX",
"--durations=10",
"--asyncio-mode=auto",
"--numprocesses=auto",
"--cov=readmeai",
"--cov-branch",
"--cov-report=xml",
"--cov-report=term-missing",
]
env = [
"OLLAMA_HOST=127.0.0.1",
]
pythonpath = ["readmeai"]
testpaths = ["tests"]
[tool.coverage.report]
exclude_also = [
"if __name__ == '__main__':",
"pragma: no cover",
"raise NotImplementedError",
]
fail_under = 80
precision = 2
show_missing = true
skip_covered = true
skip_empty = true
sort = "cover"
omit = [
"tests/*",
"*__init__.py",
"*/__init__.py",
"noxfile.py",
"readmeai/models/gemini.py",
"readmeai/utils/file_cleaner.py",
"readmeai/vcs/metadata.py",
"readmeai/vcs/providers.py",
]
[build-system]
requires = ["poetry-core", "setuptools"]
build-backend = "poetry.core.masonry.api"