-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
141 lines (129 loc) · 3.15 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[build-system]
requires = ['setuptools >= 61.0.0']
build-backend = 'setuptools.build_meta'
[project]
name = 'hipsta'
description = 'A python package for hippocampal shape and thickness analysis'
license = {file = 'LICENSE'}
requires-python = '>=3.9'
authors = [
{name = 'Kersten Diers', email = 'kersten.diers@dzne.de'},
{name = 'Martin Reuter', email = 'martin.reuter@dzne.de'}
]
maintainers = [
{name = 'Kersten Diers', email = 'kersten.diers@dzne.de'},
{name = 'Martin Reuter', email = 'martin.reuter@dzne.de'}
]
keywords = [
'hippocampus',
'shape',
'thickness',
'geometry',
]
classifiers = [
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Science/Research',
]
dynamic = ["version", "readme", "dependencies"]
[project.optional-dependencies]
build = [
'build',
'twine',
]
doc = [
'furo!=2023.8.17',
'matplotlib',
'memory-profiler',
'numpydoc',
'sphinx!=7.2.*',
'sphinxcontrib-bibtex',
'sphinx-copybutton',
'sphinx-design',
'sphinx-gallery',
'sphinx-issues',
'myst-parser',
'pypandoc',
'nbsphinx',
'IPython', # For syntax highlighting in notebooks
'ipykernel',
]
style = [
'bibclean',
'codespell',
'pydocstyle[toml]',
'ruff',
]
test = [
'pytest',
'pytest-cov',
'pytest-timeout',
]
all = [
'hipsta[doc]',
'hipsta[build]',
'hipsta[style]',
]
full = [
'hipsta[all]',
]
[project.urls]
homepage = 'https://github.com/Deep-MI/Hipsta'
documentation = 'https://github.com/Deep-MI/Hipsta'
source = 'https://github.com/Deep-MI/Hipsta'
tracker = 'https://github.com/Deep-MI/Hipsta/issues'
[project.scripts]
run_hipsta = 'hipsta.cli:main'
[tool.setuptools.dynamic]
version = {file = 'VERSION'}
readme = {file = 'README.md', content-type = "text/markdown"}
dependencies = {file = 'requirements.txt'}
[tool.setuptools.packages.find]
include = ['hipsta*']
exclude = ['docker', 'singularity']
[tool.setuptools.package-data]
"hipsta.doc" = ["*.md"]
[tool.pydocstyle]
convention = 'numpy'
ignore-decorators = '(copy_doc|property|.*setter|.*getter|pyqtSlot|Slot)'
match = '^(?!setup|__init__|test_).*\.py'
match-dir = '^fsqc.*'
add_ignore = 'D100,D104,D107'
[tool.ruff]
line-length = 120
extend-exclude = [
".github",
"doc",
"docker",
"images",
"singularity",
]
[tool.ruff.lint]
# https://docs.astral.sh/ruff/linter/#rule-selection
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"I", # isort
# "SIM", # flake8-simplify
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"computeThickness.py" = ["E501"] # long lines for easier readability
[tool.pytest.ini_options]
minversion = '6.0'
filterwarnings = []
addopts = [
"--import-mode=importlib",
# "--junit-xml=junit-results.xml",
# "--durations=20",
# "--verbose",
]