-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (62 loc) · 1.98 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (62 loc) · 1.98 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
[project]
name = "omop-constructs"
dynamic = ["version"]
description = "For building complex constructs on top of the omop-alchemy library."
readme = "README.md"
authors = [
{ name = "Georgie Kennedy", email = "georgina.kennedy@unsw.edu.au" }
]
requires-python = ">=3.12"
dependencies = [
"oa-configurator>=1.2.1,<2",
"omop-alchemy[postgres]>=1.1,<2",
"omop-semantics>=0.6.0",
"orm-loader>=1.0,<2",
"sqlalchemy>=2.0.45",
]
[project.optional-dependencies]
dev = [
"ipython>=9.8.0",
# <0.16 deliberately: ruff 0.16 widened its default rule set enormously
# (omop-alchemy reports 0 findings on 0.15.14 and 607 on 0.16.3). Every
# sibling is green only because its lockfile predates 0.16. Lifting this
# bound is a stack-wide decision, not a per-repo one.
"ruff>=0.15,<0.16",
"ty==0.0.61",
"pytest>=9.0.3",
"pytest-cov>=7.0.0",
"tornado>=6.5.5",
"mkdocs<2.0",
"mkdocs-material",
"mkdocstrings[python]",
"mkdocs-mermaid2-plugin",
"mkdocs-table-reader-plugin",
"mkdocs-macros-plugin",
"pygments>=2.20.0"
]
[project.scripts]
omop-constructs = "omop_constructs.cli:main"
[project.entry-points."omop.config"]
omop_constructs = "omop_constructs.config:OmopConstructsConfig"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
raw-options = { tag_regex = '^v?(?P<version>[0-9]+\.[0-9]+\.[0-9]+)$' }
[tool.hatch.build.targets.wheel]
packages = ["src/omop_constructs"]
[tool.uv]
cache-keys = [{ file = "pyproject.toml" }, { git = { commit = true, tags = true } }]
[tool.ruff.lint]
extend-select = ["B006", "PIE810"]
[tool.ty.rules]
# todo: these shouldn't remain here long term - for cicd initial deployment for now
invalid-argument-type = "ignore"
unused-type-ignore-comment = "ignore"
unresolved-attribute = "ignore"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"postgres: requires a configured PostgreSQL database via ENGINE_CDM or ENGINE",
]