-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (65 loc) · 1.98 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools"]
[tool.setuptools.packages.find]
include = ["subtomotools"]
[project]
name = "subtomotools"
description = "Some scripts to facilitate subtomogram-averaging workflows."
readme = "README.md"
requires-python = ">=3.8"
license = {text = "GPL-3.0-or-later"}
authors = [
{email = "b.wimmer@bioc.uzh.ch", name = "Benedikt Wimmer"},
]
version = "0.1.1"
dependencies = [
"click",
"starfile",
"mrcfile",
"numpy",
"pandas",
"tqdm"
]
[project.optional-dependencies]
dev = [
"ruff",
]
[project.urls]
homepage = "https://github.com/tomotools/subtomotools"
repository = "https://github.com/tomotools/subtomotools"
[project.scripts]
project-particles = "subtomotools.particle_operations:project_particles"
apply-selection = "subtomotools.particle_operations:apply_subset"
upgrade-star = "subtomotools.star_operations:upgrade_star"
downgrade-star = "subtomotools.star_operations:downgrade_star"
dedup-3d = "subtomotools.star_operations:dedup_3d"
tomotwin2warp = "subtomotools.tomotwin_export:tomotwin2warp"
[tool.ruff]
# partially copied from github.com/teamtomo/membrain-seg
line-length = 88
target-version = "py38"
extend-select = [
"E", # style errors
"W", # style warnings
"F", # flakes
"D", # pydocstyle
"I", # isort
"U", # pyupgrade
"C", # flake8-comprehensions
"B", # flake8-bugbear
"A001", # flake8-builtins
"RUF", # ruff-specific rules
]
extend-ignore = [
"D100", # Missing docstring in public module
"D107", # Missing docstring in __init__
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second line
"D401", # First line should be in imperative mood
"D413", # Missing blank line after last section
"D416", # Section name should end with a colon
]
[tool.ruff.format]
quote-style = "double"
indent-style = "tab"