-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
123 lines (114 loc) · 2.39 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [{ name = "Richard M. Köhler" }]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
description = "An open-source software package for neural decoding."
dynamic = ["version"]
keywords = ["machine learning", "bci", "eeg", "ieeg", "neurophysiology"]
license = { file = "LICENSE" }
maintainers = [{ name = "Richard M. Köhler" }]
name = "pte-decode"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
dependencies = [
"bayesian-optimization",
"catboost",
"imbalanced-learn",
"joblib",
"matplotlib",
"mne>=1.0",
"mne-bids",
"numba",
"numpy",
"pandas",
"pip",
"pte",
"pte-stats>=0.3",
"scikit-learn",
"scipy",
"seaborn",
"statannotations",
"xgboost",
"py-neuromodulation @ git+https://github.com/richardkoehler/py_neuromodulation.git@563ee46d66937ac25ddcb9e6d6350bfa5fbb397d",
]
[project.optional-dependencies]
dev = [
"black",
"hatch",
"mypy",
"packaging",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"tox",
]
[tool.black]
line-length = 79
[tool.hatch]
version.path = "src/pte_decode/__init__.py"
metadata.allow-direct-references = true
[[tool.mypy.overrides]]
module = [
"bayes_opt",
"catboost",
"imblearn.*",
"joblib",
"matplotlib",
"matplotlib.*",
"mne",
"mne_bids",
"mne_bids.*",
"mpl_toolkits.axes_grid1",
"numba",
"numpy",
"pandas",
"plotly",
"pte",
"pte_stats",
"py_neuromodulation",
"scipy",
"scipy.*",
"seaborn",
"skimage",
"sklearn.*",
"statannotations",
"statannotations.*",
"statsmodels.stats.multitest",
"xgboost",
]
ignore_missing_imports = true
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]