Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.67 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (50 loc) · 1.67 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
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "openenv-sql_query_env"
version = "0.2.0"
description = "OpenEnv reinforcement-learning environment for text-to-SQL with execution-based, partial-credit rewards"
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [{ name = "Rajdeep Chatale" }]
requires-python = ">=3.10"
keywords = ["openenv", "reinforcement-learning", "text-to-sql", "llm", "sqlite", "benchmark"]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Database",
]
dependencies = [
"openenv-core[core]>=0.2.2",
"openai>=1.0.0", # used by inference.py
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"pyyaml>=6.0",
"ruff>=0.5.0",
]
[project.urls]
Repository = "https://github.com/rajdeepchatale/sql_query_env"
"Hugging Face Space" = "https://huggingface.co/spaces/rajdeepchatale/sql_query_env"
[project.scripts]
server = "sql_query_env.server.app:main"
[tool.setuptools]
include-package-data = true
packages = ["sql_query_env", "sql_query_env.server"]
package-dir = { "sql_query_env" = ".", "sql_query_env.server" = "server" }
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
# the repo root is itself the package (OpenEnv layout), so avoid rootdir-relative imports
addopts = "--import-mode=importlib"
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
# explicit rule set so CI doesn't change with ruff's evolving defaults
select = ["E4", "E7", "E9", "F", "I", "B"]
[tool.ruff.lint.isort]
known-first-party = ["sql_query_env"]