-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (121 loc) · 2.77 KB
/
pyproject.toml
File metadata and controls
132 lines (121 loc) · 2.77 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
[build-system]
requires = [
"hatchling==1.29.0",
"hatch-vcs==0.5.0",
"cloudpickle==3.1.2",
"pyzmq==27.1.0",
]
build-backend = "hatchling.build"
[project]
name = "executorlib"
description = "Up-scale python functions for high performance computing (HPC) with executorlib."
authors = [
{ name = "Jan Janssen", email = "janssen@lanl.gov" },
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["high performance computing", "hpc", "task scheduler", "slurm", "flux-framework", "executor"]
requires-python = ">3.9, <3.14"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"cloudpickle==3.1.2",
"pyzmq==27.1.0",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/pyiron/executorlib"
Documentation = "https://executorlib.readthedocs.io"
Repository = "https://github.com/pyiron/executorlib"
[project.optional-dependencies]
cache = ["h5py==3.16.0"]
graph = [
"pygraphviz==1.14",
"networkx==3.6.1",
]
graphnotebook = [
"pygraphviz==1.14",
"networkx==3.6.1",
"ipython==9.9.0",
]
mpi = ["mpi4py==4.1.1"]
cluster = [
"pysqa==0.4.0",
"h5py==3.16.0",
]
validation = [
"pydantic==2.13.2",
]
all = [
"mpi4py==4.1.1",
"pysqa==0.4.0",
"h5py==3.16.0",
"pydantic==2.13.2",
"pygraphviz==1.14",
"networkx==3.6.1",
"ipython==9.9.0",
]
[tool.ruff]
exclude = [".ci_support", "docs", "notebooks", "tests", "setup.py", "_version.py"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake8-comprehensions
"C4",
# eradicate
"ERA",
# pylint
"PL",
]
ignore = [
# ignore line-length violations
"E501",
# ignore imports which are not at the top of a module
"PLC0415",
# Too many arguments in function definition
"PLR0913",
# Magic value used in comparison
"PLR2004",
# Too many branches
"PLR0912",
]
[tool.hatch.build]
include = [
"src/executorlib"
]
[tool.hatch.build.hooks.vcs]
version-file = "src/executorlib/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"src/executorlib"
]
[tool.hatch.build.targets.wheel]
packages = [
"src/executorlib"
]
[tool.hatch.version]
source = "vcs"
path = "src/executorlib/_version.py"
[tool.coverage.run]
source = ["executorlib"]
command_line = "-m unittest discover tests"