generated from mscheltienne/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
148 lines (132 loc) · 3.3 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
[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',
]
dependencies = [
'click>=8.1',
'mne-lsl>=1.4.0',
'mne>=1.6',
'numpy>=1.21,<2.0',
'packaging',
'psutil',
'psychopy',
'psychtoolbox',
'stimuli[pport]>=1.0.2',
]
description = 'Project to study sound stimulus synchronous, asynchronous and isochronous with the respiration during sleep.'
keywords = [
'audio',
'cardiac',
'eeg',
'python',
'respiration',
'sleep',
]
license = {file = 'LICENSE'}
maintainers = [
{email = '[email protected]', name = 'Mathieu Scheltienne'},
]
name = 'resp_audio_sleep'
readme = 'README.md'
requires-python = '>=3.10'
version = '0.4.0.dev0'
[project.optional-dependencies]
all = [
'resp_audio_sleep[build]',
'resp_audio_sleep[style]',
'resp_audio_sleep[test]',
]
build = [
'build',
'twine',
]
full = [
'resp_audio_sleep[all]',
]
style = [
'codespell[toml]>=2.2.4',
'pre-commit',
'ruff>=0.6.0',
'toml-sort',
'yamllint',
]
test = [
'pytest-cov',
'pytest-timeout',
'pytest>=8.0',
]
[project.scripts]
ras = 'resp_audio_sleep.commands.main:run'
ras-sys_info = 'resp_audio_sleep.commands.sys_info:run'
[project.urls]
source = 'https://github.com/fcbg-platforms/eeg-resp-audio-sleep'
tracker = 'https://github.com/fcbg-platforms/eeg-resp-audio-sleep/issues'
[tool.codespell]
check-filenames = true
check-hidden = true
ignore-words = '.codespellignore'
skip = 'build,.git,.mypy_cache,.pytest_cache'
[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',
'**/resp_audio_sleep/_version.py',
'**/resp_audio_sleep/utils/_fixes.py',
'**/tests/**',
]
[tool.pytest.ini_options]
addopts = ['--color=yes', '--cov-report=', '--durations=20', '--junit-xml=junit-results.xml', '--strict-config', '--tb=short', '-ra', '-v']
junit_family = 'xunit2'
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__'
]
'__init__.py' = ['F401']
[tool.ruff.lint.pydocstyle]
convention = 'numpy'
ignore-decorators = ["resp_audio_sleep.utils._docs.copy_doc"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ['resp_audio_sleep*tests']
include = ['resp_audio_sleep*']
[tool.tomlsort]
all = true
ignore_case = true
trailing_comma_inline_array = true