-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
110 lines (91 loc) · 2.15 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
[project]
name = "Aeon"
version = "4.0.0a"
description = "Language with Refinement Types"
authors = [
{ name = "Alcides Fonseca", email = "[email protected]" }
]
readme = "Readme.md"
requires-python = "~=3.10"
keywords = ["programming language, liquid types"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
scripts.aeon = "aeon.__main__:main"
dependencies = ['lark',
'z3-solver >= 4',
'loguru',
'geneticengine@https://github.com/alcides/GeneticEngine/archive/3feb0b48494f6b4352a3ed87a0fef29a98e4b4a1.zip',
'multiprocess',
'textdistance',
'numpy',
'configparser',
'argparse',
]
[project.urls]
homepage = "https://github.com/alcides/aeon"
repository = "https://github.com/alcides/aeon"
documentation = "https://github.com/alcides/aeon"
[project.license]
text = "https://opensource.org/licenses/MIT"
[build-system]
build-backend = 'setuptools.build_meta'
requires = [
'setuptools >= 43.0.0']
[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
# Assume Python 3.10.
target-version = "py310"
# 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",
]
[tool.ruff.lint]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = ["E741", "E501"]
per-file-ignores = { }
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[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