-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (96 loc) · 2.23 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (96 loc) · 2.23 KB
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
[tool.poetry]
name = "neuroguard"
version = "0.0.1"
description = "EEG verification lib"
authors = ["AI Team"]
readme = "README.md"
license = ""
packages = [{include = "neuroguard"}]
[tool.poetry.dependencies]
python = "^3.12"
torch = "^2.6.0"
torchvision = "^0.21.0" # Compatible with torch 2.6.x
numpy = "1.26.4"
pandas = "2.2.3"
tqdm = "4.67.1"
mne = "1.9.0"
triton = { version = "3.2.0", optional = true }
pyright = "^1.1.395"
scikit-learn = "^1.7.2"
umap = "^0.1.1"
tensorboard = "2.19.0"
umap-learn = "^0.5.7"
[tool.poetry.extras]
gpu = ["triton"]
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.0,<8.0.0"
black = ">=23.9.0,<24.0.0"
flake8 = ">=6.1.0,<7.0.0"
mypy = ">=1.5.0,<2.0.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
disallow_any_unimported = false
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unreachable = true
show_error_codes = true
show_column_numbers = true
pretty = true
# Exclude patterns
exclude = [
"^notebooks/",
"^venv/",
"^.venv/",
"\\.ipynb$",
]
# Per-module options for third-party libraries without stubs
[[tool.mypy.overrides]]
module = [
"mne.*",
"umap.*",
"tensorboard.*",
"pandas.*",
"sklearn.*",
"torchvision.*",
"requests.*",
]
ignore_missing_imports = true
[tool.pyright]
include = ["neuroguard"]
exclude = [
"**/node_modules",
"**/__pycache__",
"notebooks",
"venv",
".venv",
]
typeCheckingMode = "strict"
pythonVersion = "3.12"
reportMissingTypeStubs = false
reportUnknownMemberType = false
reportUnknownArgumentType = false
reportUnknownVariableType = false
reportUnknownLambdaType = false
reportImportCycles = true
reportUnnecessaryIsInstance = true
reportUnnecessaryCast = true
reportUnnecessaryComparison = true
reportUnnecessaryContains = true
reportAssertAlwaysTrue = true
reportSelfClsParameterName = true
reportUnusedImport = true
reportUnusedClass = true
reportUnusedFunction = true
reportUnusedVariable = true
reportDuplicateImport = true