-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (65 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
78 lines (65 loc) · 1.46 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
67
68
69
70
71
72
73
74
75
76
77
78
[tool.poetry]
name = "workflowai"
version = "0.6.10"
description = "Python SDK for WorkflowAI"
authors = ["Guillaume Aquilina <guillaume@workflowai.com>"]
readme = "README.md"
exclude = ["**/*_test.py", "tests/**/*"]
[tool.poetry.dependencies]
python = "^3.9"
pydantic = ">=2.7.4"
httpx = ">=0.27"
[tool.poetry.group.dev.dependencies]
pyright = "^1.1.390"
pytest = "^8.2.2"
pytest-asyncio = "^0.25.3"
ruff = "^0.9.6"
freezegun = "^1.5.1"
pre-commit = "^4.0.1"
pytest-httpx = "^0.35.0"
pytest-xdist = "^3.1.0"
python-dotenv = "^1.0.1"
typer = "^0.15.1"
rich = "^13.7.1"
[tool.poetry.scripts]
workflowai = "workflowai.cli.main:main"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D",
"PLC",
"FA",
"TRY",
"ANN",
"RET504",
"TCH",
"PTH",
"PLR",
"EM101",
"EM102",
"FBT001",
"FBT002",
"TD",
"PYI051",
"FIX002",
"SLF001", #reportPrivateUsage
"PT017", # Do not force using pytest.raises
"PIE790", # ... are not unnecessary for empty functions with docstring
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.per-file-ignores]
# in bin we use rich.print
"bin/*" = ["T201"]
"*_test.py" = ["S101", "S106"]
"conftest.py" = ["S101"]
"examples/*" = ["INP001", "T201", "ERA001"]
[tool.pyright]
pythonVersion = "3.9"
exclude = ["dist", ".venv"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"