-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (31 loc) · 729 Bytes
/
Copy pathpyproject.toml
File metadata and controls
35 lines (31 loc) · 729 Bytes
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
[tool.poetry]
name = "ask-sql"
version = "0.1.0"
description = "Translate questions to your database into SQL queries via OpenAI"
authors = ["Felipe Allegretti <felipe@allegretti.me>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9"
openai = "^0.28.0"
sqlalchemy = "^2.0.20"
gradio = "^3.44.3"
psycopg2-binary = "^2.9.7"
pydantic-settings = "^2.0.3"
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
ruff = "^0.0.290"
[tool.black]
line-length = 120
verbose = true
preview = true
[tool.ruff]
line-length = 120
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"COM", # flake8-commas
"Q", # flake8-quotes
]