-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (45 loc) · 1.2 KB
/
pyproject.toml
File metadata and controls
54 lines (45 loc) · 1.2 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
[project]
name = "open_targets"
version = "0.4.0"
description = "BioCypher Open Targets data adapter"
authors = [
{ name = "Paul Ka Po To", email = "kto@ebi.ac.uk" },
{ name = "Sebastian Lobentanzer", email = "sebastian.lobentanzer@gmail.com" },
]
requires-python = ">=3.10,<3.11"
dependencies = [
"biocypher>=0.12.5",
"bioregistry>=0.13.21",
"duckdb>=1.4.4",
"xxhash>=3.6.0",
]
[tool.open-targets]
data-version = "25.12"
metadata-url = "https://ftp.ebi.ac.uk/pub/databases/opentargets/platform/25.12/croissant.json"
[dependency-groups]
dev = [
"pytest>=9.0.2",
"jinja2>=3.1.6",
"tomli>=2.4.0",
"ruff>=0.15.4",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 80
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"test/*" = ["S101", "D100", "D101", "D102", "D103", "D104", "SLF001"]
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
# strict on main code, standard on test to allow private method access
typeCheckingMode = "standard"
strict = ["open_targets", "scripts"]