-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 1.55 KB
/
pyproject.toml
File metadata and controls
80 lines (70 loc) · 1.55 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
[project]
name = "rumyantsev-recreation"
version = "0.1.0"
description = "Recreation of Figure 2d/2e from Rumyantsev et al. 2020"
authors = [
{name = "Stanford Collaboration", email = "contact@example.com"}
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"polars>=0.19.0",
"pyarrow>=14.0.0",
"numpy>=1.24.0",
"scipy>=1.11.0",
"matplotlib>=3.7.0",
"seaborn>=0.12.0",
"pyyaml>=6.0",
"tqdm>=4.65.0",
]
[project.optional-dependencies]
# For interactive Jupyter notebook usage
notebook = [
"jupyter>=1.0.0",
"ipykernel>=6.25.0",
"notebook>=7.0.0",
]
# For development and testing
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
"black>=23.0.0",
"jupyter>=1.0.0",
"ipykernel>=6.25.0",
"notebook>=7.0.0",
]
[build-system]
requires = ["setuptools>=68.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
]
[tool.coverage.run]
source = ["src"]
omit = ["tests/*", "*/conftest.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true