-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.29 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
[project]
name = "devol"
version = "0.1.0"
description = "Diffusion Evolution Algorithm - Evolution through iterative denoising"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11"
authors = [
{name = "Dario Cazzani", email = "dariocazzani@gmail.com"},
{name = "Aleksandr Yeganov", email = "ayeganov@gmail.com"},
]
keywords = [
"evolution",
"optimization",
"diffusion",
"evolutionary-algorithms",
"black-box-optimization",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
"Typing :: Typed",
]
dependencies = [
"numpy>=1.26.0",
"pydantic>=2.0.0",
"pydantic-yaml>=1.6.0",
]
[project.urls]
Homepage = "https://github.com/LabStrangeLoop/devol"
Repository = "https://github.com/LabStrangeLoop/devol"
Issues = "https://github.com/LabStrangeLoop/devol/issues"
Changelog = "https://github.com/LabStrangeLoop/devol/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"mypy>=1.7.0",
"pytest>=8.0.0",
"twine>=5.0.0",
]
examples = [
"matplotlib>=3.8.0",
"gymnasium[classic-control]>=1.2.1",
"torch>=2.9.0",
"torchvision>=0.24.0",
]
benchmark = [
"matplotlib>=3.8.0",
"rich>=13.0.0",
"tqdm>=4.65.0",
]
all = [
"devol[dev,examples,benchmark]",
]
[project.scripts]
devol = "devol.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/devol"]
[tool.ruff]
line-length = 120
target-version = "py311"
# Demo scripts are linted separately; they use argparse globals, numpy meshgrid
# conventions, and half-finished code that doesn't belong in the published package.
exclude = ["examples"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
files = ["src/devol"]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]