generated from mscheltienne/template-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
177 lines (160 loc) · 3.63 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
[build-system]
build-backend = 'setuptools.build_meta'
requires = ['setuptools >= 64.0.0']
[project]
authors = [
{email = '[email protected]', name = 'Mathieu Scheltienne'},
]
classifiers = [
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
dependencies = [
'click',
'mne>=1.7',
'numpy>=1.21',
'packaging',
'pooch',
'psutil',
]
description = 'Wiki for the MEG platform at the Fondation Campus Biotech Geneva.'
keywords = [
'meg',
'neuroscience',
'python',
'tests',
'timings',
'wiki',
]
license = {file = 'LICENSE'}
maintainers = [
{email = '[email protected]', name = 'Mathieu Scheltienne'},
]
name = 'meg_wiki'
readme = 'README.md'
requires-python = '>=3.10'
version = '0.1.0'
[project.optional-dependencies]
all = [
'meg_wiki[build]',
'meg_wiki[doc]',
'meg_wiki[stubs]',
'meg_wiki[style]',
'meg_wiki[test]',
]
build = [
'build',
'twine',
]
doc = [
'darkdetect',
'furo',
'matplotlib',
'memory-profiler',
'nibabel',
'numpydoc',
'PyQt6',
'pyvista',
'pyvistaqt',
'sphinx!=7.2.*',
'sphinx-copybutton',
'sphinx-design',
'sphinx-gallery',
'sphinx-issues',
'sphinxcontrib-bibtex',
]
full = [
'meg_wiki[all]',
]
stubs = [
'mypy',
'ruff>=0.6.0',
]
style = [
'bibclean',
'codespell[toml]>=2.2.4',
'pre-commit',
'ruff>=0.6.0',
'toml-sort',
'yamllint',
]
test = [
'pytest-cov',
'pytest-timeout',
'pytest>=8.0',
]
[project.scripts]
meg-wiki = 'meg_wiki.commands.main:run'
[project.urls]
documentation = 'https://meg-wiki.fcbg.ch/'
homepage = 'https://meg-wiki.fcbg.ch/'
source = 'https://github.com/fcbg-platforms/meg_wiki'
tracker = 'https://github.com/fcbg-platforms/meg_wiki/issues'
[tool.codespell]
check-filenames = true
check-hidden = true
ignore-words = '.codespellignore'
skip = 'build,.git,.mypy_cache,.pytest_cache,*.svg'
[tool.coverage.report]
exclude_lines = [
'if __name__ == .__main__.:',
'if TYPE_CHECKING:',
'pragma: no cover',
]
precision = 2
[tool.coverage.run]
branch = true
cover_pylib = false
omit = [
'**/__init__.py',
'**/conftest.py',
'**/meg_wiki/_version.py',
'**/meg_wiki/utils/_fixes.py',
'**/tests/**',
]
[tool.pytest.ini_options]
addopts = '--durations 20 --junit-xml=junit-results.xml --verbose'
filterwarnings = []
minversion = '8.0'
[tool.ruff]
extend-exclude = []
line-length = 88
[tool.ruff.format]
docstring-code-format = true
line-ending = "lf"
[tool.ruff.lint]
ignore = []
select = ['A', 'B', 'D', 'E', 'F', 'G', 'I', 'LOG', 'NPY', 'PIE', 'PT', 'T20', 'UP', 'W']
[tool.ruff.lint.per-file-ignores]
'*' = [
'B904', # 'Within an except clause, raise exceptions with raise ... from ...'
'D100', # 'Missing docstring in public module'
'D104', # 'Missing docstring in public package'
'D107', # 'Missing docstring in __init__'
]
'*.pyi' = ['E501']
'__init__.py' = ['F401']
'tutorials/*' = ['B018', 'D205', 'D400', 'E402', 'T201']
'tutorials/stimulation/precise_audio.py' = ['E501']
[tool.ruff.lint.pydocstyle]
convention = 'numpy'
ignore-decorators = ["meg_wiki.utils._docs.copy_doc"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
"meg_wiki.datasets" = ["sample-registry.txt"]
[tool.setuptools.packages.find]
exclude = ['meg_wiki*tests']
include = ['meg_wiki*']
[tool.tomlsort]
all = true
ignore_case = true
trailing_comma_inline_array = true