-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (100 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
118 lines (100 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
110
111
112
113
114
115
116
117
118
[project]
name = "sdrf-pipelines"
dynamic = ["version"]
description = "Validate and convert SDRF files to configuration files for pipelines."
readme = "README.md"
authors = [
{ name = "BigBio Team", email = "ypriverol@gmail.com" }
]
license = "Apache-2.0"
requires-python = ">=3.10"
keywords = ["sdrf", "python", "multiomics", "proteomics"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
# Core dependencies for structural validation and conversions
dependencies = [
"click",
"defusedxml",
"numpy",
"pandas",
"pydantic>=2.0.0",
"pyyaml",
]
[project.optional-dependencies]
# Ontology validation features (term lookup via OLS)
ontology = [
"fastparquet",
"pooch",
"rdflib",
"requests",
]
# All features
all = [
"fastparquet",
"pooch",
"rdflib",
"requests",
]
[project.urls]
Homepage = "https://github.com/bigbio/sdrf-pipelines"
Repository = "https://github.com/bigbio/sdrf-pipelines"
[project.scripts]
parse_sdrf = "sdrf_pipelines.parse_sdrf:main"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.targets.wheel]
packages = ["src/sdrf_pipelines"]
[dependency-groups]
dev = [
"fastparquet",
"flake8",
"mypy",
"pooch",
"pre-commit",
"pylint",
"pytest",
"pytest-datadir",
"rdflib",
"requests",
"ruff",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E203"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101"] # assert is expected in test files
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"ontology: tests that require ontology dependencies (pooch, rdflib, requests)",
]
[tool.mypy]
plugins = ["pydantic.mypy"]
packages = ["sdrf_pipelines"]
[[tool.mypy.overrides]]
module = "fastparquet"
ignore_missing_imports = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true