-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
103 lines (96 loc) · 1.57 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tool.poetry]
name = "intelliterm"
version = "0.5.2"
description = "Chat with AI from your terminal!"
authors = ["Yulian Kraynyak <[email protected]>"]
repository = "https://github.com/ykrx/intelliterm"
readme = "README.md"
license = "LICENSE.txt"
packages = [{ include = "intelliterm" }]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.11"
openai = "^0.27.8"
platformdirs = "^3.8.0"
pick = "^2.2.0"
prompt-toolkit = "^3.0.38"
tiktoken = "^0.4.0"
setuptools = "^68.0.0"
pyperclip = "^1.8.2"
rich = "^13.4.2"
anthropic = "^0.23.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
mypy = "^1.4.1"
deptry = "^0.18.0"
[tool.poetry.scripts]
ai = "intelliterm.main:run"
intelliterm = "intelliterm.main:run"
[tool.ruff]
line-length = 88
target-version = "py311"
select = ["E", "F"]
fixable = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"I",
"N",
"Q",
"S",
"T",
"W",
"ANN",
"ARG",
"BLE",
"COM",
"DJ",
"DTZ",
"EM",
"ERA",
"EXE",
"FBT",
"ICN",
"INP",
"ISC",
"NPY",
"PD",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"TCH",
"TID",
"TRY",
"UP",
"YTT",
]
[tool.mypy]
python_version = "3.11"
disallow_incomplete_defs = false
disable_error_code = "no-redef"
ignore_missing_imports = true
disallow_untyped_defs = true
show_error_context = true
[tool.pytest.ini_options]
addopts = [
"--cov=intelliterm",
"--cov-report=html:coverage",
"--cov-report=lcov:lcov.info",
"-s",
]
testpaths = ["tests"]