-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (125 loc) · 2.56 KB
/
pyproject.toml
File metadata and controls
138 lines (125 loc) · 2.56 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
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "dynsight"
maintainers = [
{ name = "Andrew Tarzia", email = "andrew.tarzia@gmail.com" },
{ name = "Matteo Becchi", email = "bechmath@gmail.com" },
{ name = "Simone Martino", email = "s.martino0898@gmail.com" },
]
dependencies = [
"numpy<2",
"dscribe",
"tropea-clustering",
"MDAnalysis",
"PyYAML",
"trackpy",
"ultralytics",
"deeptime",
"infomeasure",
]
# Set by cpctools.
requires-python = ">=3.8"
dynamic = ["version"]
readme = "README.rst"
description = "Simplifies analysis of simulation and experimental trajectories."
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"pytest",
"pytest-cov",
"sphinx",
"sphinx-copybutton",
"sphinx_design",
"build",
"twine",
"furo",
"numba",
]
[project.urls]
github = "https://github.com/GMPavanLab/dynsight"
documentation = "https://dynsight.readthedocs.io/en/latest/"
[project.scripts]
label_tool = "dynsight.vision:label_tool"
[tool.setuptools_scm]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["ALL"]
ignore = ["ANN401", "COM812", "ISC001", "FBT001", "FBT002", "PLR0913", "G004"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"S101",
"INP001",
"ANN001",
"ANN201",
]
"examples/*" = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"S101",
"INP001",
"C901",
"N803",
"ANN001",
"PLR0912",
"PLR0915",
"RUF059",
]
"docs/source/conf.py" = ["D100", "INP001"]
"docs/source/_static/recipes/*" = ["RUF059"]
[tool.mypy]
show_error_codes = true
implicit_optional = false
warn_no_return = true
strict_optional = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
warn_unreachable = true
disallow_any_generics = true
exclude = 'docs/build/html/_static'
[[tool.mypy.overrides]]
module = [
'ase.*',
'dscribe.descriptors.*',
'matplotlib.*',
'MDAnalysis.*',
'numba.*',
'dynsight.onion.plot.*',
'scipy.*',
'tropea_clustering.*',
'h5py.*',
'SOAPify.*',
'deeptime.decomposition.*',
'yaml.*',
'Pillow.*',
'ultralytics.*',
'opencv-python.*',
'cv2.*',
'pandas.*',
'trackpy.*',
'deeptime.*',
'sklearn.decomposition.*',
'infomeasure.*',
]
ignore_missing_imports = true