-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
185 lines (168 loc) · 5.03 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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
[build-system]
requires = ["setuptools >= 42", "versioningit ~= 1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "alab_management"
description = " Alab Workflow Management is aimed at providing a configurable and sharable platform for autonomous synthesis, just like what ROS has done for robotics."
readme = "README.md"
keywords = ["high-throughput experiments", "workflow", "autonomous synthesis"]
license = { text = "modified BSD" }
authors = [
{ name = "Yuxing Fei", email = "[email protected]" },
{ name = "Bernardus Rendy", email = "[email protected]" },
{ name = "Rishi Kumar", email = "[email protected]" },
{ name = "Hrushikesh Sahasrabuddhe", email = "[email protected]" }
]
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Topic :: Database :: Front-Ends",
"Topic :: Other/Nonlisted Topic",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.10.0"
dependencies = [
"toml>=0.10.1",
"pymongo>=3.12.3",
"flask>=2.2.2",
"pydantic==2.8.2",
"click",
"gevent>=21.8.0",
"monty>=2022.9.9",
"dramatiq[rabbitmq]>=1.13.0",
"requests>=2.32.0",
"pika>=1.3.1",
"dill>=0.3.8",
"networkx>=2.8.5",
"plotly>=5.10.0",
"dash>=2.11.1",
"dash_mantine_components>=0.12.1",
"numpy>=1.23.0",
"matplotlib>=3.5.2",
"dramatiq-abort @ git+https://github.com/idocx/dramatiq-abort",
"slack_sdk>=3.19.5",
"Flask-Cors>=3.0.10",
"retry>=0.9.2",
]
[project.optional-dependencies]
docs = [
"autodoc_pydantic==2.2.0",
"furo==2023.8.19",
"ipython>=8.15.0",
"myst_parser>=2.0.0",
"nbsphinx==0.9.3",
"sphinx-copybutton==0.5.2",
"sphinx==7.2.5",
"sphinx-autodoc-typehints >= 1.12.0",
"sphinx_book_theme==1.1.3",
"myst-nb==1.1.1",
"sphinx-design==0.6.0",
"sphinxcontrib-mermaid==0.9.2"
]
dev = [
"pre-commit>=2.12.1",
"pytest >= 6.2.5",
"pytest_reraise >= 2.1.1",
"pylint >= 2.11.1",
"flake8 ~= 4.0.1",
"pytest-env ~= 0.6.2",
"requests >= 2.32.0",
"flake8-bugbear >= 21.11.29",
"flake8-docstrings >= 1.6.0",
"pandas-stubs >= 2.1.1.230928",
"flake8-bugbear >= 21.11.29",
"flake8-docstrings >= 1.6.0",
"ruff",
"dramatiq[rabbitmq]==1.16.0"
]
tests = ["pytest-cov==4.1.0", "pytest==7.4.1", "moto==4.2.2", "pytest-env ~= 0.6.2"]
vis = ["matplotlib", "pydot"]
[project.urls]
homepage = "https://alab-management.readthedocs.io/en/latest/"
repository = "https://github.com/CederGroupHub/alab_management/"
documentation = "https://alab-management.readthedocs.io/en/latest/"
#changelog = ""
[project.scripts]
alabos = "alab_management.scripts.cli:cli"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
alab_management = ["py.typed", "dashboard/ui/**"]
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests", "tests.*"]
[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.1"
[tool.flake8]
max-line-length = 400 # jobflow uses 88. Ensure to change this back to 88 in the future
max-doc-length = 400 # jobflow uses 88. Ensure to change this back to 88 in the future
select = "C, E, F, W, B"
extend-ignore = "E203, W503, E501, F401, RST21, D102"
ignore = "E203, W503, E501, F401, RST21, D102"
min-python-version = "3.10.0"
docstring-convention = "numpy"
rst-roles = "class, func, ref, obj"
[tool.mypy]
ignore_missing_imports = true
namespace_packages = true
explicit_package_bases = true
no_implicit_optional = false
follow_imports = "skip"
disable_error_code = "annotation-unchecked"
[tool.coverage.run]
include = ["src/*"]
parallel = true
branch = true
[tool.coverage.paths]
source = ["src/"]
[tool.coverage.report]
skip_covered = true
show_missing = true
exclude_lines = [
'^\s*@overload( |$)',
'^\s*assert False(,|$)',
'if TYPE_CHECKING:',
'if typing.TYPE_CHECKING:',
]
[tool.ruff]
target-version = "py310"
line-length = 150
exclude = ["**/dashboard/*.ipynb"]
[tool.ruff.lint]
ignore-init-module-imports = true
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PLE", # pylint error
"PLW", # pylint warning
"Q", # flake8-quotes
"RUF", # Ruff-specific rules
"SIM", # flake8-simplify
"TID", # tidy imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = ["B028", "PLW0603", "RUF013", "D100", "D404", "D401", "D205", "RUF100"]
pydocstyle.convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"**/dashboard/*" = ["D"]
"**/tests/*" = ["D"]
"**/fake_lab/*" = ["D", "B"]
"docs/source/conf.py" = ["D"]
[tool.pytest.ini_options]
testpaths = "./tests"
env = "ALABOS_CONFIG_PATH = ./tests/fake_lab/config.toml"