-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
124 lines (110 loc) · 4.09 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
###################################|###|####################################
# _____ | | #
# | __ \--.--.----.-----.-----. |===| This file is part of Byron, an #
# | __ < | | _| _ | | |___| evolutionary source-code fuzzer. #
# |____/ ___ |__| |_____|__|__| ).( Version 0.8a1 "Don Juan" #
# |_____| \|/ #
#################################### ' #####################################
# Copyright 2023-24 Giovanni Squillero and Alberto Tonda
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "byron"
packages = [
{include = "byron", from = "src"}
]
version = "0.8a1.dev66"
description = "An evolutionary source-code fuzzer"
authors = [
"Cyber Romanticists",
]
license = "Apache-2.0"
readme = "docs/pypi.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
homepage = "https://cad-polito-it.github.io/byron/"
repository = "https://github.com/cad-polito-it/byron"
# documentation = "https://github.com/cad-polito-it/byron/tree/alpha/examples/"
keywords = [
"Approximate Optimization",
"Aritificial Intelligence",
"Evolutionary Computation",
"Fuzzer",
]
[tool.poetry.dependencies]
joblib = { version = ">=1.3", optional = true }
matplotlib = { version = ">=3.9.1", optional = true }
networkx = ">=3.1"
numpy = ">=2.1.0"
psutil = { version = ">=6.0", optional = true }
python = ">=3.10,<3.13"
rich = {extras = ["jupyter"], version = "^13.7.1"}
scipy = ">=1.10"
tqdm = ">=4.66.5"
bumpver = "^2023.1129"
[tool.poetry.extras]
# Use: poetry install --all-extras
full = ["joblib", "matplotlib", "psutil"]
info = ["psutil"]
multitask = ["joblib"]
plot = ["matplotlib"]
[tool.poetry.group.dev.dependencies]
# Use: poetry add --group dev <foo>
# Use: poetry install --with dev
bumpver = "^2023.1126"
coverage = "^7.6"
icecream = "^2.1.3"
ipykernel = "^6.29"
jupyter = "^1.0.0"
mypy = ">=1.11.1"
pytest = ">=8.3.2,<9.0"
pytest-emoji = "^0.2.0"
ruff = ">=0.6.1,<0.7.0"
setuptools = ">=72.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = ["."]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.coverage.run]
branch = true
[tool.coverage.report]
include = ['src/*', 'test/*']
omit = ['.*/*', 'venv/*']
[tool.mypy]
modules = ['byron']
ignore_missing_imports = true
[tool.ruff]
target-version = "py312"
line-length = 120
extend-include = ["*.ipynb"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.format]
# Prefer single quotes over double quotes.
quote-style = "preserve"
[tool.bumpver]
current_version = "0.8a1.dev66"
version_pattern = "MAJOR.MINOR[PYTAGNUM].devINC0"
commit_message = "style(bumpver): Bump version to {new_version}"
commit = true
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{pep440_version}"',
'version = "{pep440_version}"$',
]
"docs/index.md" = [" v{pep440_version}"]
"src/byron/global_symbols.py" = [
'__date__ = "0D-0M-YYYY"',
'__version__ = "{pep440_version}"',
]