-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (97 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
109 lines (97 loc) · 2.42 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.hatch.build.targets.wheel]
packages = ["src/flowo_common", "src/snakemake_logger_plugin_flowo"]
[project]
authors = [
{name = "Haomiao Zhang", email = "zhanghm@iregene.com"},
{name = "Jingmin Zhang", email = "zhangjm@iregene.com"},
]
description = "A unified PostgreSQL-based logging plugin and backend for Snakemake"
license = {text = "MIT"}
name = "snakemake-logger-plugin-flowo"
readme = "README.md"
requires-python = ">=3.12"
version = "2.0.6"
dependencies = [
"pydantic>=2.11.5",
"pydantic-settings>=2.9.1",
"snakemake-interface-logger-plugins",
"httpx>=0.28.1",
"tqdm>=4.66.0",
]
[project.optional-dependencies]
snakemake = ["snakemake"]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"pre-commit>=3.5.0",
]
docs = [
"mkdocs>=1.6.0",
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.25.0",
]
server = [
"snakemake",
"sqlalchemy>=2.0.41",
"psycopg2-binary>=2.9.9",
"asyncpg>=0.30.0",
"alembic>=1.16.1",
"fastapi[standard]>=0.115.12",
"anytree>=2.13.0",
"psutil>=7.0.0",
"sse-starlette>=3.1.2",
"fastapi-users[sqlalchemy]>=15.0.3",
"passlib[bcrypt]>=1.7.4",
"snakevision>=1.0.0",
"fastapi-mcp>=0.4.0",
]
[dependency-groups]
dev = [
"snakemake",
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"pre-commit>=3.5.0",
"sqlalchemy>=2.0.41",
"psycopg2-binary>=2.9.9",
"asyncpg>=0.30.0",
"alembic>=1.16.1",
"fastapi[standard]>=0.115.12",
"anytree>=2.13.0",
"psutil>=7.0.0",
"sse-starlette>=3.1.2",
"fastapi-users[sqlalchemy]>=15.0.3",
"passlib[bcrypt]>=1.7.4",
"snakevision>=1.0.0",
"fastapi-mcp>=0.4.0",
]
[project.scripts]
flowo = "snakemake_logger_plugin_flowo.plugin.client.cli:main"
[project.entry-points."snakemake.log_handlers"]
flowo = "snakemake_logger_plugin_flowo:LogHandler"
[tool.pytest.ini_options]
addopts = "--rootdir=. --import-mode=prepend"
pythonpath = ["."]
asyncio_mode = "auto"
[tool.ruff]
exclude = ["app/alembic/"]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
ignore = ["E501", "B008"]
select = ["E", "W", "F", "I", "B", "C4", "UP"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/conftest.py" = ["E402"]
# Official PyPI default; use UV_INDEX_URL for a regional mirror if needed.
[[tool.uv.index]]
default = true
url = "https://pypi.org/simple"