-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (78 loc) · 1.34 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (78 loc) · 1.34 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
[project]
name = "sensession"
version = "1.1.0"
description = "Library to instrument sensing tests"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "Fabian Portner", email = "fportner@tudelft.nl"},
]
dependencies = [
"numpy",
"scipy",
"pyarrow",
"polars",
"loguru",
"rich",
"requests", # for usrpulse requests
"websocket-client",
"tqdm",
]
[project.optional-dependencies]
eval = [
"matplotlib",
"plotly",
"kaleido",
"notebook",
"seaborn",
]
dev = [
"isort",
"ruff",
"mypy",
"pylint",
"pytest",
"nb-clean",
"types-requests"
]
app = [
"typer",
]
matlab = [
"matlabengine",
]
picoscenes = [
"picoscenes"
]
esp32 = [
"pyserial"
]
sensei = [
"sensei"
]
[tool.isort]
profile = "black"
src_paths = ["src", "app.py", "test"]
length_sort = true
# pylint configuration
[tool.pylint]
max-line-length = 88
disable = ["C0301", "too-many-instance-attributes"]
extension-pkg-allow-list = ["sensei"]
# Mypy configuration
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
exclude = ["^csi_tools/", "examples/preprocess\\.py"]
# Ruff configuration
[tool.ruff]
line-length = 88
target-version = "py311"
extend-include = ["*.ipynb"]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = [
"F401", # Imported but unused
"F403", # Wildcard imports
]
[tool.ruff.lint.pydocstyle]
convention = "google"