-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (71 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
80 lines (71 loc) · 1.63 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
[project]
name = "brainstorm-track2"
version = "0.1.0"
description = "BrainStorm 2026 Track 2 - Neural Data Viewer"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"aiohttp>=3.9.0",
"websockets>=12.0",
"numpy>=1.24.0",
"scipy>=1.10.0",
"typer>=0.9.0",
"rich>=13.0.0",
"pandas>=2.0.0",
"pyarrow>=14.0.0",
"huggingface-hub>=0.20.0",
"pynput>=1.7.0",
"matplotlib>=3.10.8",
"torch>=2.10.0",
"pip>=25.3",
]
[project.scripts]
brainstorm-stream = "scripts.stream_data:app"
brainstorm-serve = "scripts.serve:app"
brainstorm-control = "scripts.control_client:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["scripts", "web_viewer"]
[tool.hatch.build]
include = [
"scripts/**/*.py",
"web_viewer/**/*",
]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[dependency-groups]
dev = [
"pre-commit>=4.5.1",
]