-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (47 loc) · 1.15 KB
/
pyproject.toml
File metadata and controls
59 lines (47 loc) · 1.15 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
[project]
name = "binctl"
version = "0.1.0"
description = "Storage node and tag management server + CLI"
requires-python = ">=3.11"
dependencies = [
"binctl-client",
"uvicorn>=0.30",
"connexion[flask]>=3.3",
"gunicorn>=21.0",
"milc",
"sqlalchemy>=2.0",
"python-dotenv>=1.2.2",
]
[project.optional-dependencies]
mysql = ["pymysql"]
postgresql = ["psycopg2-binary"]
[project.scripts]
binctl = "binctl:cli"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = ["binctl", "web", "routes", "db", "auth", "auth_operations", "manage"]
[dependency-groups]
dev = [
"openapi-python-client>=0.21",
"ty>=0.0.1a1",
"pytest>=8.0",
"pytest-timeout>=2.3",
"ruff>=0.5",
]
[tool.uv.sources]
binctl-client = { path = "binctl-client", editable = true }
[tool.ruff]
line-length = 160
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = ["I"] # enable isort-style import sorting rules
[tool.ruff.lint.isort]
known-first-party = ["binctl"]
combine-as-imports = true
[tool.pytest.ini_options]
testpaths = [".", "tests"]
python_files = ["test_*.py"]
addopts = "-v"