-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (76 loc) · 2.1 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
[project]
name = "wingechr-datatools"
version = "0.15.4"
description = "TODO"
readme = "README.md"
requires-python = ">=3.11,<3.15"
authors = [{ name = "Christian Winger", email = "c@wingechr.de" }]
dependencies = [
"appdirs>=1.4.4",
"chardet>=7.4.3",
"click>=8.3.1",
"coloredlogs>=15.0",
"fastapi>=0.138.0",
"httpx>=0.28.1",
"jsonpath-ng>=1.8.0",
"openpyxl>=3.1.5",
"pandas>=2.3.3",
"pydantic>=2.13.4",
"rdflib>=7.6.0",
"sqlalchemy>=2.0.51",
"sqlparse>=0.5.5",
"typing-extensions>=4.15.0",
"tzlocal>=5.4.3",
"uvicorn>=0.49.0",
]
[dependency-groups]
dev = ["bump-my-version>=1.4.1", "pre-commit>=4.2", "poethepoet>=0.38"]
test = [
"tox-uv>=1.33", # for uv-venv-runner
"pytest>=9.0",
"tox>=4.47",
"pytest-cov>=7.0.0",
"snakemake>=7.32.4",
]
docs = [
"mdx-truly-sane-lists>=1.3",
"mistune>=2.0",
"mkdocs>=1.6,<2.0", # 2.0 is incompatible with material
"mkdocs-material>=9.7",
"mkdocstrings-python>=1.16",
"pymdown-extensions>=10.16",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["*"]
exclude = ["tests*", "docs*"]
[build-system]
requires = ["setuptools", "wheel", "build"]
build-backend = "setuptools.build_meta"
[project.scripts]
datatools = "datatools.__main__:main"
[tool.bumpversion]
current_version = "0.15.4"
commit = true
tag = true
message = "version: {current_version} → {new_version}"
pre_commit_hooks = ["uv lock", "git add uv.lock"]
[[tool.bumpversion.files]]
filename = "datatools/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[tool.tox]
envlist = ["py311", "py314"]
[tool.tox.env_run_base]
runner = "uv-venv-lock-runner" # use tox-uv
commands = [["pytest"]]
[tool.poe.tasks]
cov = "uv run pytest --cov=datatools --cov-report=term-missing --cov-report=html:htmlcov --cov-report=xml:coverage.xml"
test = "uv run tox"
docs = "uv run mkdocs build"
run = "uv run -m datatools -l debug"
build = "uv build"