-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (119 loc) · 2.73 KB
/
Copy pathpyproject.toml
File metadata and controls
141 lines (119 loc) · 2.73 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
[project]
name = "GeneticEngine"
version = "0.8.11"
description = "Genetic Programming with Types and Grammars"
authors = [
{ name = "Alcides Fonseca et al.", email = "me@alcidesfonseca.com" },
]
readme = "Readme.md"
requires-python = ">=3.11"
keywords = [
"program synthesis", "machine learning", "genetic programming"
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
'dill==0.4.1',
'egglog',
'lark==1.3.1',
'loguru==0.7.3',
'numpy==2.4.6',
'palettable==3.3.3',
'pandas==3.0.5',
'pathos==0.3.5',
'polyleven==0.11.0',
'pytest==9.1.1',
'pytest-benchmark==5.2.3',
'scikit-learn==1.9.0',
'seaborn==0.13.2',
'sympy==1.14.0',
'threadpoolctl==3.6.0',
'z3-solver==5.0.0.0',
]
[project.urls]
homepage = "https://github.com/alcides/GeneticEngine/"
repository = "https://github.com/alcides/GeneticEngine/"
documentation = "https://github.com/alcides/GeneticEngine/"
[project.license]
text = "https://opensource.org/licenses/MIT"
[project.optional-dependencies]
dev = [
"black",
"docformatter",
"mypy==2.3.0",
"pre-commit",
"pycln",
"pytest",
"pytest-codspeed",
"pytest-cov",
"ruff"
]
[build-system]
build-backend = 'setuptools.build_meta'
requires = ['setuptools >= 67.6.0']
[tool.setuptools]
py-modules = ["geneticengine", "geml", "examples"]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
'examples' = ['*.csv']
[tool.docformatter]
syntax = 'google'
black = true
recursive = true
docstring-length = [60, 100]
blank = false
pre-summary-newline = true
close-quotes-on-newline = true
wrap-one-line = true
[tool.black]
line-length = 120
[tool.pycln]
all = true
[tool.ruff]
line-length = 120
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Assume Python 3.10.
target-version = "py310"
[tool.ruff.lint]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = ["E741", "E501"]
per-file-ignores = {}
[tool.ruff.lint.flake8-import-conventions.aliases]
altair = "alt"
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"
seaborn = "sns"
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10