-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (70 loc) · 1.73 KB
/
pyproject.toml
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
[build-system]
requires = ['setuptools>=40.8.0']
build-backend = 'setuptools.build_meta'
[tool.setuptools]
packages = ["fhirflat", "fhirflat.resources"]
[project]
name = "fhirflat"
version = "0.1.0"
description = "Flattened FHIR resources"
authors = [
{name = "Pip Liggins", email = "[email protected]"},
{name = "Abhishek Dasgupta", email = "[email protected]"},
]
license = {file = "LICENSE"}
requires-python = ">=3.10"
readme = "README.md"
classifiers = ["License :: OSI Approved :: MIT License"]
dependencies = [
"fhir.resources==7.1.0",
"numpy==1.26.4",
"orjson==3.9.13",
"pandas[performance]>=2.2.0",
"pyarrow==15.0.0",
"pydantic==2.6.1",
"pydantic_core==2.16.2",
"tzdata",
"python-dateutil",
"joblib",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-unordered",
"ruff",
"tomli==2.*; python_version < '3.11'",
"pre-commit"
]
docs = [
"jupyter-book"
]
[project.urls]
Home = "https://github.com/globaldothealth/fhirflat"
[project.scripts]
fhirflat = "fhirflat.__main__:main"
[tool.black]
line-length = 88
[tool.pytest.ini_options]
pythonpath = "."
[tool.ruff]
exclude = [".venv", ".vscode", ".git", "docs", "tests", "__init__.py"]
# Same as Black.
line-length = 88
indent-width = 4
[tool.ruff.lint]
extend-select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"ARG", # flake8-unused-arguments
"RUF", # Ruff-specific
"YTT", # flake8-2020
]
ignore = [
"C901", # function is too complex
"C408", # unnecessary `dict` call (rewrite as a literal)
]