-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (56 loc) · 1.52 KB
/
pyproject.toml
File metadata and controls
66 lines (56 loc) · 1.52 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
# Build project configuration for release
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "weco"
authors = [{ name = "Weco AI Team", email = "contact@weco.ai" }]
description = "Documentation for `weco`, a CLI for using Weco AI's code optimizer."
readme = "README.md"
version = "0.3.29"
license = { file = "LICENSE" }
requires-python = ">=3.9"
dependencies = [
"requests",
"rich",
"packaging",
"gitingest",
"psutil",
"langsmith>=0.3.0",
"jupyter>=1.1.1",
]
keywords = ["AI", "Code Optimization", "Code Generation"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
]
[project.scripts]
weco = "weco.cli:main"
[project.urls]
Homepage = "https://github.com/WecoAI/weco-cli"
[project.optional-dependencies]
langfuse = ["langfuse>=2.0.0"]
dev = ["ruff", "build", "setuptools_scm", "pytest>=7.0.0"]
[tool.setuptools.packages.find]
include = ["weco*"]
[tool.setuptools.package-data]
"weco.integrations.langsmith.wizard" = ["*.html"]
"weco.integrations.langfuse.wizard" = ["*.html"]
[tool.setuptools_scm]
# Lint and format code
[tool.ruff]
fix = false
include = ["*.py"]
exclude = [".git"]
force-exclude = true
respect-gitignore = true
indent-width = 4
line-length = 127
[tool.ruff.lint]
ignore = ["E402"]
[tool.ruff.format]
docstring-code-format = true
indent-style = "space"
quote-style = "double"
skip-magic-trailing-comma = true