-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (96 loc) · 2.6 KB
/
pyproject.toml
File metadata and controls
114 lines (96 loc) · 2.6 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ROSE"
version = "0.3.0"
description = "Toolkit to express and execute ML surrogate building workflows on HPC"
authors = [
{name = "Aymen Alsaadi", email = "aymen.alsaadi@rutgers.edu"},
{name = "RADICAL Lab"},
]
maintainers = [
{name = "Aymen Alsaadi", email = "aymen.alsaadi@rutgers.edu"},
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy",
"radical.asyncflow",
"rhapsody-py[radical_pilot]",
'rhapsody-py[dragon]; python_version >= "3.10" and python_version <= "3.12"',
]
[project.urls]
Homepage = "https://github.com/radical-cybertools/ROSE"
Issues = "https://github.com/radical-cybertools/ROSE/issues"
Documentation = "https://radical-cybertools.github.io/ROSE/"
[project.optional-dependencies]
lint = ["ruff"]
mlflow = ["mlflow>=2.0"]
clearml = ["clearml>=1.14"]
tracking = ["mlflow>=2.0", "clearml>=1.14"]
# All test deps
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"pre-commit",
]
doc = [
"mkdocs==1.5.3",
"mkdocs-material==9.5.9",
"mkdocstrings[python]>=0.26.1",
"mkdocs-gen-files==0.5.0",
"mkdocs-literate-nav==0.6.1",
"mkdocs-section-index==0.3.8",
"mkdocs-glightbox",
"mkdocs-material-extensions",
"mkdocs-minify-plugin"
]
[tool.setuptools.packages.find]
include = ["rose*"]
[tool.ruff]
line-length = 100
target-version = "py310"
fix = true
exclude = ["examples/use_cases/"]
[tool.ruff.lint]
select = ["E", "F", "W", "B", "I", "N", "UP"]
# N803/N806: uppercase variable/arg names are standard ML convention (X, X_labeled, etc.)
# N801: allow non-CapWords class names for ML acronyms (MC_Dropout_CNN, etc.)
# N812/N813/N816/N817: allow ML import aliases (functional as F, etc.)
ignore = ["N803", "N806", "N801", "N812", "N813", "N816", "N817"]
[tool.ruff.lint.per-file-ignores]
# task_description={"shell": True} is a ROSE API pattern introspected by decorators
"examples/**/run_me.py" = ["B006"]
"examples/**/run_me_*.py" = ["B006"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.coverage.run]
source = ["rose"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]
[tool.codespell]
skip = """
.git,
.github,
__pycache__,
build,
dist,
.*egg-info
"""