-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (44 loc) · 1.13 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
[tool.poetry]
name = "my-llm-apps"
version = "0.1.0"
description = ""
authors = ["Junya Nakazato <nakazato_junya@ca-adv.co.jp>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
slack-bolt = "^1.18.1"
load-dotenv = "^0.1.0"
openai = "^1.12.0"
langchain = "^0.1.8"
langchain-openai = "^0.0.6"
slack-sdk = "^3.27.0"
[tool.poetry.group.dev.dependencies]
black = "^24.2"
ruff = "^0.2.2"
taskipy = "^1.12.2"
watchdog = "^4.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ['py39']
line-length = 120
[tool.ruff]
line-length = 120
[tool.ruff.lint]
exclude = [".venv", ".git", "__pycache__"]
select = ["E", "F", "RET502", "RET503", "T20"]
ignore = ["E501", "E722", "T201"]
[tool.ruff.format]
indent-style = "space"
quote-style = "double"
skip-magic-trailing-comma = false
line-ending = "lf"
[tool.taskipy.tasks]
start-bot = "python src/bot.py"
dev = 'watchmedo auto-restart -p "*.py" -R python3 -- src/bot.py'
fmt = "task fmt-black"
fmt-black = "black src"
lint = "task lint-black && task lint-ruff"
lint-ruff = "poetry run ruff src"
lint-black = "black --check src"