-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (48 loc) · 1.53 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
# Build project configuration for release
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "aifn"
authors = [
{name = "Weco AI Team", email = "[email protected]"},
]
description = "Documentation for `aifn`, a client facing API for interacting with the WecoAI's AI functions."
readme = "README.md"
version = "0.2.2"
license = {text = "MIT"}
requires-python = ">=3.8"
dependencies = ["requests", "asyncio", "nest_asyncio", "httpx[http2]", "pillow"]
keywords = ["AI", "LLM", "VLM", "AI functions", "Prompt Engineering", "NLP"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License"
]
[project.urls]
Homepage = "https://github.com/WecoAI/aifn-python"
[project.optional-dependencies]
dev = ["ruff", "pytest-asyncio", "pytest-xdist", "build", "setuptools_scm"]
docs = ["jupyter", "black", "mkdocs", "mkdocs-material", "mkdocs-material-extensions", "mkdocstrings[crystal,python]", "mkdocs-minify-plugin"]
[tool.setuptools]
packages = ["aifn"]
[tool.setuptools_scm]
# Test configuration
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
# 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