-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
153 lines (139 loc) · 3.26 KB
/
pyproject.toml
File metadata and controls
153 lines (139 loc) · 3.26 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[build-system]
requires = [
"hatchling==1.29.0",
"hatch-vcs==0.5.0",
"bagofholding",
"bidict",
"cloudpickle",
"executorlib",
"graphviz",
"pandas",
"pint",
"pyiron_snippets",
"rdflib",
"semantikon",
"toposort",
"typeguard",
]
build-backend = "hatchling.build"
[project]
name = "pyiron_workflow"
description = "pyiron_workflow - Graph-and-node based workflow tools."
readme = "docs/README.md"
keywords = [ "pyiron",]
requires-python = ">=3.11, <3.14"
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"bagofholding==0.1.11",
"bidict==0.23.1",
"cloudpickle==3.1.2",
"executorlib==1.9.2",
"flowrep==0.4.1",
"graphviz==0.21",
"pandas==3.0.1",
"pint==0.25",
"pyiron_snippets==1.2.1",
"rdflib==7.1.4",
"semantikon==0.0.22",
"toposort==1.10",
"typeguard==4.4.4",
]
dynamic = [ "version",]
authors = [
{ name = "Liam Huber", email = "liamhuber@greyhavensolutions.com" },
]
[project.license]
file = "LICENSE"
[project.urls]
Homepage = "https://github.com/pyiron/pyiron_workflow"
Documentation = "https://pyiron-workflow.readthedocs.io"
Repository = "https://github.com/pyiron/pyiron_workflow"
[project.optional-dependencies]
cluster = [
"pysqa==0.3.5",
"h5py==3.15.1",
]
[tool.hatch.build]
include = [
"pyiron_workflow"
]
[tool.hatch.build.hooks.vcs]
version-file = "pyiron_workflow/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"pyiron_workflow"
]
[tool.hatch.build.targets.wheel]
packages = [
"pyiron_workflow"
]
[tool.hatch.version]
source = "vcs"
path = "pyiron_workflow/_version.py"
[tool.ruff]
exclude = ["docs", "notebooks"]
[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",
# Too many arguments in function definition
"PLR0913",
# Magic value used in comparison
"PLR2004",
# Import alias does not rename original package
"PLC0414",
# Too many branches
"PLR0912",
# Too many statements
"PLR0915",
# Too many return statements
"PLR0911",
]
[tool.ruff.lint.per-file-ignores]
"pyiron_workflow/executors/__init__.py" = ["F401"] # Ignore unused imports in init files -- we specify APIs this way
"pyiron_workflow/__init__.py" = ["F401"] # Ignore unused imports in init files -- we specify APIs this way
"pyiron_workflow/api.py" = ["F401"] # Ignore unused imports in api file -- we specify APIs this way
"pyiron_workflow/mixin/injection.py" = ["PLC0415"] # Allow non-top imports
"pyiron_workflow/create.py" = ["PLC0415"] # Allow non-top imports
[tool.black]
extend-exclude = '''
(
^/docs
)
'''
[tool.mypy]
exclude = [
"^docs/conf\\.py$",
"^tests/",
]
ignore_missing_imports = true
strict_equality = true