-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (64 loc) · 1.56 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
# 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 = "[email protected]"},
]
description = "A client facing API for interacting with the Weco AI function builder service."
readme = "README.md"
version = "0.1.11"
license = {text = "MIT"}
requires-python = ">=3.8"
dependencies = ["asyncio", "httpx[http2]", "pillow"]
keywords = ["AI", "LLM", "machine learning", "data science", "function builder", "AI function"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License"
]
[project.urls]
Homepage = "https://github.com/WecoAI/weco-python"
[project.optional-dependencies]
dev = ["flake8", "flake8-pyproject", "black", "isort", "pytest-asyncio", "pytest-xdist", "build", "setuptools_scm"]
docs = ["mkdocs", "mkdocs-material", "mkdocs-material-extensions", "mkdocstrings[crystal,python]", "mkdocs-minify-plugin"]
[tool.setuptools]
packages = ["weco"]
[tool.setuptools_scm]
# Linting code
[tool.flake8]
count = true
select = ["E9", "F63", "F7", "F82"]
show-source = true
statistics = true
max-line-length = 127
max-complexity = 10
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| \.env
| build
| dist
)/
'''
# Formatting code
[tool.black]
line-length = 127
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| \.env
| build
| dist
)/
'''
# Sorting imports
[tool.isort]
profile = "black"
line_length = 127