-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
65 lines (52 loc) · 1.2 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
[tool.poetry]
name = "vimgpt"
version = "0.1.2"
description = "LLM agent with direct Vim access using neovim/pynvim"
authors = ["nsbradford <[email protected]>"]
license = "MIT license"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
pynvim = "0.4.3"
promptlayer = "^0.2.4"
litellm = "0.1.618"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.287"
black = "^23.7.0"
mypy = "^1.5.1"
pytest = "^7.4.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
vimgpt = "vimgpt.cli:main"
[tool.ruff]
# Same as Black.
# line-length = 88
target-version = "py311"
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
]
ignore = [
"E712", # Allow using if x == False, as it's not always equivalent to if x.
"E501", # Supress line-too-long warnings: trust black's judgement on this one.
]
exclude = [
'stubs',
]
[tool.mypy]
mypy_path = "stubs"
[[tool.mypy.overrides]]
module = 'pynvim.*'
ignore_errors = true
[[tool.mypy.overrides]]
module = 'litellm.*'
ignore_errors = true
[[tool.mypy.overrides]]
module = 'litellm.*'
ignore_errors = true
# [[tool.mypy.overrides]]
# module = 'vimgpt.*'
# ignore_missing_imports = true