-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (105 loc) · 2.35 KB
/
pyproject.toml
File metadata and controls
116 lines (105 loc) · 2.35 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "rtdpy"
dynamic = ["version"]
description = "Python package for residence time distribution analysis"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Matthew Flamm", email = "matthew.flamm@merck.com"}
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.23.0",
"scipy>=1.9.0",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering",
]
[project.urls]
Homepage = "https://merck.github.io/rtdpy"
Repository = "https://github.com/Merck/rtdpy"
Documentation = "https://merck.github.io/rtdpy"
[tool.setuptools_scm]
version_file = "rtdpy/_version.py"
[tool.setuptools.packages.find]
where = ["."]
include = ["rtdpy*"]
[project.optional-dependencies]
dev = [
"numpy==2.3.5",
"scipy==1.16.3",
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
]
dev-min = [
"numpy==1.23.0",
"scipy==1.9.0",
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
]
docs = [
"sphinx",
"numpydoc>=1.0.0",
"matplotlib",
"ipython",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--cov=rtdpy",
"--cov-report=term-missing",
"--cov-report=html",
"--strict-markers",
]
markers = []
[tool.coverage.run]
source = ["rtdpy"]
omit = [
"*/tests/*",
"*/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ruff]
line-length = 89
target-version = "py310"
exclude = [
".git",
".venv",
"venv",
"__pycache__",
"build",
"dist",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
ignore = []
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Allow unused imports in __init__.py