-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
156 lines (144 loc) · 4.07 KB
/
pyproject.toml
File metadata and controls
156 lines (144 loc) · 4.07 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[project]
name = "subcell_pipeline"
description = "Simulation, analysis, and visualization for subcellular models"
authors = [
{ name = "Mark Hansen", email = "mark@homeworld.bio" },
{ name = "Blair Lyons", email = "blairl@alleninstitute.org" },
{ name = "Saurabh S. Mogre", email = "saurabh.mogre@alleninstitute.org" },
{ name = "Aadarsh Raghunathan", email = "aadarsh.raghunathan@research.iiit.ac.in" },
{ name = "Karthik Vegesna", email = "karthik.vegesna@alleninstitute.org" },
{ name = "Jessica S. Yu", email = "jessica.yu@alleninstitute.org" },
]
maintainers = [
{ name = "Blair Lyons", email = "blairl@alleninstitute.org" },
{ name = "Saurabh S. Mogre", email = "saurabh.mogre@alleninstitute.org" },
{ name = "Jessica S. Yu", email = "jessica.yu@alleninstitute.org" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
license = { file = "LICENSE" }
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.10,<3.12"
dependencies = [
"numpy>=1.26.4",
"pandas>=1.5.3",
"matplotlib>=3.9.0",
"tqdm>=4.66.4",
"pacmap>=0.7.2",
"simulariumio>=1.11.0",
"container-collection>=0.6.1",
"scikit-learn>=1.5.0",
"ipykernel>=6.29.4",
"setuptools>=70.0.0",
"io-collection>=0.10.2",
"python-dotenv>=1.0.1",
]
[project.urls]
Homepage = "https://github.com/Simularium/subcell-pipeline"
"Bug Tracker" = "https://github.com/Simularium/subcell-pipeline/issues"
Documentation = "https://Simularium.github.io/subcell-pipeline"
"User Support" = "https://github.com/Simularium/subcell-pipeline/issues"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.dev-dependencies]
dev = [
"check-manifest>=0.49",
"pre-commit>=3.7.1",
"isort>=5.13.2",
"jupytext>=1.16.2",
]
lint = [
"black>=24.4.2",
"ruff>=0.4.6",
"mypy>=1.10.0",
]
test = [
"pytest>=8.2.1",
"pytest-cov>=5.0.0",
"pytest-raises>=0.11",
"coverage>=7.5.3",
"pytest-subtests>=0.13.1",
]
docs = [
"sphinx>=7.3.7",
"furo>=2024.5.6",
"myst-parser>=3.0.1",
"sphinx-copybutton>=0.5.2",
]
debug = [
"ipdb>=0.13.13",
]
[tool.black]
line-length = 88
[tool.isort]
line_length = 88
profile = "black"
# https://github.com/charliermarsh/ruff
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
extend-select = [
"E", # style errors
"F", # flakes
"D", # pydocstyle
"I001", # isort
"UP", # pyupgrade
"N", # pep8-naming
# "S", # bandit
"C", # flake8-comprehensions
"B", # flake8-bugbear
"A001", # flake8-builtins
"RUF", # ruff-specific rules
"RUF100", # Unused noqa directive
]
extend-ignore = [
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
"D202", # Blank lines between the function body and the function docstring
"D203", # 1 blank line required before class docstring
"D205", # 1 blank line required between summary line and description
"D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second line
"D413", # Missing blank line after last section
"D416", # Section name should end with a colon
]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D"]
# https://github.com/mgedmin/check-manifest#configuration
[tool.check-manifest]
ignore = [
".pre-commit-config.yaml",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"*docs/**",
"*.ipynb",
"*tests/**",
"*templates/*",
"*configs/*",
".editorconfig",
"environment.yml",
"pdm.lock",
"requirements.txt",
"Makefile",
]
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
check_untyped_defs = true
show_error_codes = true
[tool.jupytext.formats]
"docs/_notebooks/" = "md"
"subcell_pipeline/" = "py:percent"
[tool.coverage.run]
omit = [
"subcell_pipeline/analysis/*/_*.py",
"subcell_pipeline/simulation/*/_*.py",
"subcell_pipeline/visualization/_*.py",
]