-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (56 loc) · 2.08 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ai-code-summary"
dynamic = ["version"]
description = "This project automates the process of aggregating code files from a directory into a single markdown file, ready for use in an OpenAI Assistant or any RAG model. It intelligently skips files specified in the .gitignore and leverages ChatGPT to generate concise summaries for each code file, ensuring that the final markdown file is both comprehensive and easy to understand."
license = { file = "LICENSE" }
readme = "README.md"
authors = [{ name = "Justin Beall", email = "[email protected]" }]
requires-python = ">=3.11"
dependencies = ["loguru", "openai", "pathspec", "python-dotenv", "twine"]
keywords = [
"openai",
"code summary",
"AI",
"automation",
"python",
"API",
"artificial intelligence",
"data science",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
repository = "https://github.com/DEV3L/ai-code-summary"
[tool.hatch.version]
path = "setup.cfg"
pattern = "version = (?P<version>\\S+)"
[tool.hatch.build.targets.sdist]
include = ["/ai_code_summary", "ai-code-summary.md"]
artifact = { name = "ai-code-summary" }
[tool.hatch.build.targets.wheel]
packages = ["ai_code_summary"]
include = ["ai-code-summary.md"]
artifact = { name = "ai-code-summary" }
[tool.hatch.envs.default]
type = "virtual"
path = ".venv"
dependencies = ["pyright", "pytest", "pytest-cov"]
[tool.hatch.envs.default.scripts]
e2e = "python run_end_to_end.py"
test = "pytest --cache-clear --cov --cov-report lcov --cov-report term"
publish = "rm -rf bin && rm -rf dist && hatch build && twine upload dist/*"
[tool.hatch.envs.hatch-static-analysis]
config-path = "ruff_defaults.toml"
[tool.ruff]
extend = "ruff_defaults.toml"
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "parents"