-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (72 loc) · 1.7 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (72 loc) · 1.7 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
79
80
81
82
83
[tool.poetry]
name = "lair"
version = "0.8.2+dev"
description = "Lousy AI Resources"
license = "BSD-3-Clause"
authors = ["Doug Haber <dhaber@leshylabs.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
openai = "^1.56.2"
rich = "^13.6.0"
prompt-toolkit = "^3.0.40"
jsonschema = "^4.19.2"
comfy-script = {extras = ["client"], version = "^0.5.1"}
pdfplumber = "^0.11.5"
trafilatura = "^2.0.0"
jinja2 = "^3.1.5"
lmdb = "^1.6.2"
libtmux = "^0.46.0"
ddgs = "^9.3.1"
pyyaml = "^6.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.4.1"
ruff = "^0.12.4"
coverage = "^7.9.2"
pytest-cov = "^6.2.1"
pytest-xdist = "^3.8.0"
mypy = "^1.17.0"
types-pyyaml = "^6.0.12.20250516"
types-requests = "^2.32.4.20250611"
types-jsonschema = "^4.24.0.20250708"
[tool.ruff]
line-length = 120
[tool.ruff.lint.mccabe]
max-complexity = 5
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"S", # security
"PYI", # stub files
"UP", # pyupgrade
"B", # bugbear
"SIM", # simplify
"Q", # quotes
"C", # complexity
"ANN", # annotations
"D", # docstrings
"N", # naming
"T", # debugger/print
]
ignore = ["D203", "D212"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101", "D", "ANN"]
[tool.pytest.ini_options]
addopts = "--cov=lair --cov-branch --cov-report=term-missing --cov-fail-under=90 -n auto"
markers = [
"unit: unit tests",
"integration: integration tests using sqlite",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
lair = "lair.cli.run:start"