-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
163 lines (151 loc) · 3.79 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
[project]
name = "eos"
version = "0.7.2"
description = "The Experiment Orchestration System (EOS) is a comprehensive software framework and runtime for laboratory automation."
keywords = ["automation", "science", "lab", "experiment", "orchestration", "distributed", "infrastructure"]
authors = [
{ name = "Angelos Angelopoulos", email = "[email protected]" }
]
license = { text = "BSD 3-Clause" }
classifiers = [
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
"Typing :: Typed",
"Intended Audience :: Science/Research",
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ray[default]==2.42.0",
"typer==0.15.1",
"rich==13.9.4",
"jinja2==3.1.5",
"PyYAML==6.0.2",
"networkx==3.4.2",
"sqlalchemy==2.0.38",
"alembic==1.14.1",
"psycopg[binary]==3.2.3",
"asyncpg==0.30.0",
"pydantic==2.10.6",
"bofire[optimization]==0.0.16",
"pandas==2.2.3",
"numpy==1.26.2",
"litestar[standard]==2.14.0",
"minio==7.2.15",
]
[dependency-groups]
dev = [
"aiosqlite",
"ruff",
"pytest",
"pytest-cov",
"pytest-asyncio",
"black",
]
docs = [
"sphinx",
"sphinx-autobuild",
"sphinx-copybutton",
"sphinx-design",
"sphinx-click",
"pydata-sphinx-theme",
]
[tool.uv]
default-groups = ["dev", "docs"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["eos"]
[project.scripts]
eos = "eos.eos:eos_app"
test = "scripts.test:main"
test-with-cov = "scripts.test_with_cov:main"
lint = "scripts.lint:main"
format = "scripts.format:main"
docs-build = "scripts.docs_build:main"
docs-build-gh = "scripts.docs_build_gh:main"
docs-serve = "scripts.docs_serve:main"
[tool.black]
line-length = 120
extend-exclude = "eos/database/_migrations/versions/"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
markers = [
"slow: mark tests as slow (deselect with '-m \"not slow\"')",
]
asyncio_mode = "auto"
[tool.ruff]
include = [
"{eos,tests}/**/*.py",
"pyproject.toml"
]
target-version = "py310"
line-length = 120
lint.mccabe.max-complexity = 14
lint.isort.known-first-party = ["eos", "tests"]
lint.select = [
"A", # flake8-builtins
"ANN", # flake8-annotations
"ASYNC", # flake8-async
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"C90", # mccabe
"DTZ", # flake8-datetimez
"E", # pycodestyle errors
"ERA", # eradicate
"EXE", # flake8-executable
"F", # pyflakes
"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"N", # pep8-naming
"PIE", # flake8-pie
"PLC", # pylint - convention
"PT", # flake8-pytest
"PLE", # pylint - error
"PLR", # pylint - refactor
"PLW", # pylint - warning
"PTH", # flake8-use-pathlib
"Q", # flake8-quotes
"RET", # flake8-return
"RUF", # Ruff-specific rules
"S", # flake8-bandit
"SIM", # flake8-simplify
"T10", # flake8-debugger
"T20", # flake8-print
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle - warning
"YTT", # flake8-2020
]
lint.ignore = ["I001", "ANN001", "ANN002", "ANN003", "ANN204", "ANN401", "PLR0913", "PLR0915", "N805"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.*" = [
"S",
"S101",
"I001",
"F405",
"F403",
"T201",
"D",
"ANN",
"PT001",
"PT004",
"PT023",
"PLR0913",
"PLR2004",
"F401",
"F811",
]
"eos/database/_migrations/versions/**/*.*" = ["ALL"]