-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (65 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
77 lines (65 loc) · 2.04 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
[project]
name = "moldef.spec"
version = "0.3.0"
description = "Python implementation of the HL7 FHIR MolecularDefinition resource with support for associated profiles."
readme = "README.md"
authors = [
{name = "Salem Bajjali"},
{name = "Robert R. Freimuth"},
]
license = {file = "LICENSE"}
requires-python = ">=3.11"
keywords = [
"FHIR",
"HL7",
"MolecularDefinition",
"genomics",
"variation",
"representation",
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"fhir-core==1.1.4",
"fhir-resources==8.0.0",
"ipykernel==6.28.0",
]
[project.optional-dependencies]
dev = [
"pytest==7.4.4",
"deepdiff==8.6.1",
"ruff==0.8.3"
]
[build-system]
requires = ["setuptools>=65.3", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
src = ["src"]
exclude = ["notebooks", "data", "edits"]
[tool.ruff.lint]
select = [
"F", # https://docs.astral.sh/ruff/rules/#pyflakes-f
"E", "W", # https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
"I", # https://docs.astral.sh/ruff/rules/#isort-i
"B", # https://docs.astral.sh/ruff/rules/#flake8-bugbear-b
"UP", # https://docs.astral.sh/ruff/rules/#pyupgrade-up
"SIM", # https://docs.astral.sh/ruff/rules/#flake8-simplify-sim
"ARG", # https://docs.astral.sh/ruff/rules/#flake8-unused-arguments-arg
"S", # https://docs.astral.sh/ruff/rules/#flake8-bandit-s
]
ignore = ["E501"] # Ruff format already handles long lines
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double" # Enforce double quotes
docstring-code-format = true # Format code inside docstrings