-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
118 lines (99 loc) · 2.76 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
[project]
name = "AlmKanal"
dynamic = ["version"]
description = "A superset of MNE Python for constructing M/EEG preprocessing pipelines"
readme = "README.md"
license = {text = "BSD-3-Clause"}
authors = [ {name = "Fabian Schmidt", email = "schmidtfa91@gmail.com"},
{name = "Thomas Hartmann", email = "thomas.hartmann@th-ht.de"}
]
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Typing :: Typed'
]
keywords = ['preprocessing', 'M/EEG', 'MNE Python', 'source analysis']
requires-python = ">=3.11"
dependencies = ["mne>=1.8,<1.9", "attrs>=24.2.0,<25"]
[tool.pixi.system-requirements]
linux = "4.18"
[project.urls]
repository = "https://github.com/schmidtfa/AlmKanal"
[build-system]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-64", "win-64", "osx-arm64"]
[tool.pixi.pypi-dependencies]
almkanal = { path = ".", editable = true }
[tool.pixi.feature.jupyter.dependencies]
mne = ">=1.8.0,<1.9"
jupyter = ">=1.0.0,<1.1"
ipython = ">=8.26.0,<8.27"
ipykernel = ">=6.29.5,<6.30"
seaborn = ">=0.13.2,<0.14"
matplotlib = ">=3.9.1,<3.10"
[tool.pixi.tasks]
test = "pytest --cov=almkanal --cov-report=lcov"
lint = "ruff format && ruff check --fix"
lint_ci = "ruff check"
check_types = "mypy almkanal tests"
[tool.pixi.dependencies]
hatch = ">=1.12.0,<1.13"
ipython = ">=8.26.0,<8.27"
ipykernel = ">=6.29.5,<6.30"
ruff = ">=0.5.2,<0.6"
pre-commit = ">=3.7.1,<3.8"
pytest = ">=8.2.2,<8.3"
pytest-cov = ">=5.0.0,<5.1"
mypy = ">=1.10.1,<2"
pandas-stubs = ">=2.2.2.240603,<3"
tabulate = ">=0.9.0,<0.10"
pyrasa = ">=1.0.0,<2"
python-picard = ">=0.8,<0.9"
nibabel = ">=5.3.2,<6"
plus_slurm = ">=0.3.2,<0.4"
[tool.pixi.feature]
py311 = {dependencies = {python="3.11.*"}}
py312 = {dependencies = {python="3.12.*"}}
[tool.pixi.environments]
default = {features = [], solve-group = "default"}
jupyter = {features = ["jupyter"], solve-group = "default"}
testpy311 = ['py311']
testpy312 = ['py312']
[tool.hatch.version]
source = "regex_commit"
path = "almkanal/__version__.py"
tag_sign = false
[tool.ruff]
line-length = 120
exclude = ['old', 'paper', 'tests']
[tool.ruff.lint]
extend-select = [
'E',
'W',
'I',
'UP',
'C90',
'N',
'PTH',
'SIM',
'TCH',
'PL'
]
ignore = ['PLR0913']
[tool.ruff.format]
quote-style = 'single'
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--ignore=almkanal/__version__.py"
[tool.mypy]
disable_error_code = "import-untyped"
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = "almkanal.*"
disallow_untyped_defs = true