generated from mscheltienne/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
153 lines (136 loc) · 3.16 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
[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 :: Microsoft :: Windows',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
dependencies = [
'mne-lsl',
'numpy>=1.21',
'packaging',
'psutil',
]
description = 'LSL module for the viewpoint eyetracker.'
keywords = [
'eye-tracker',
'labstreaminglayer',
'lsl',
'python',
]
license = {file = 'LICENSE'}
maintainers = [
{email = '[email protected]', name = 'Mathieu Scheltienne'},
]
name = 'lsl_viewpoint'
readme = 'README.md'
requires-python = '>=3.10'
version = '0.3.0.dev0'
[project.optional-dependencies]
all = [
'lsl_viewpoint[build]',
'lsl_viewpoint[style]',
'lsl_viewpoint[test]',
]
build = [
'build',
'twine',
]
full = [
'lsl_viewpoint[all]',
]
style = [
'codespell[toml]>=2.2.4',
'isort',
'pydocstyle[toml]',
'ruff>=0.1.8',
'toml-sort',
'yamllint',
]
test = [
'pytest',
'pytest-cov',
'pytest-timeout',
]
[project.scripts]
lsl_viewpoint = 'lsl_viewpoint.commands.lsl_viewpoint:run'
lsl_viewpoint-sys_info = 'lsl_viewpoint.commands.sys_info:run'
[project.urls]
documentation = 'https://github.com/fcbg-platforms/lsl-viewpoint'
homepage = 'https://github.com/fcbg-platforms/lsl-viewpoint'
source = 'https://github.com/fcbg-platforms/lsl-viewpoint'
tracker = 'https://github.com/fcbg-platforms/lsl-viewpoint/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',
'**/lsl_viewpoint/_version.py',
'**/lsl_viewpoint/commands/*',
'**/lsl_viewpoint/utils/_fixes.py',
'**/tests/**',
]
[tool.isort]
extend_skip_glob = [
'setup.py',
]
line_length = 88
multi_line_output = 3
profile = 'black'
py_version = 310
[tool.pydocstyle]
add_ignore = 'D100,D104,D107'
convention = 'numpy'
ignore-decorators = '(copy_doc|property|.*setter|.*getter|pyqtSlot|Slot)'
match = '^(?!setup|__init__|test_).*\.py'
match-dir = '^lsl_viewpoint.*'
[tool.pytest.ini_options]
addopts = '--durations 20 --junit-xml=junit-results.xml --verbose'
minversion = '8.0'
[tool.ruff]
extend-exclude = [
"doc",
"setup.py",
]
line-length = 88
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = []
select = ["A", "B", "E", "F", "UP", "W"]
[tool.ruff.lint.per-file-ignores]
'*' = [
"B904", # 'Within an except clause, raise exceptions with raise ... from ...'
]
'*.pyi' = ['E501']
'__init__.py' = ['F401']
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ['lsl_viewpoint*tests']
include = ['lsl_viewpoint*']
[tool.tomlsort]
all = true
ignore_case = true
trailing_comma_inline_array = true