-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (52 loc) · 1.33 KB
/
pyproject.toml
File metadata and controls
61 lines (52 loc) · 1.33 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
# 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.16"
license = { file = "LICENSE" }
requires-python = ">=3.8"
dependencies = [
"requests",
"rich",
"packaging",
"gitingest",
"fastapi",
"slowapi",
"psutil"
]
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]
dev = ["ruff", "build", "setuptools_scm", "pytest>=7.0.0"]
[tool.setuptools]
packages = ["weco"]
[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