-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
126 lines (113 loc) · 2.91 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
125
126
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "lbfgsb"
dynamic = ["version"]
authors = [{ name = "Antoine Collet", email = "[email protected]" }]
readme = "README.rst"
description = "A python impementation of the famous L-BFGS-B quasi-Newton solver."
keywords = [
"Limited",
"Bounded",
"Minimization",
"Gradient descent",
"Quasi-Newton",
"Parameters estimation",
"L-BFGS-B",
]
license = { text = "MIT license" }
dependencies = [
"setuptools>=61.1.1",
"wheel",
"numpy>=1.2",
"scipy>=1.6.2",
"packaging; python_version < '3.8'",
"typing_extensions; python_version < '3.8'",
]
requires-python = ">=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Homepage = "https://pypi.org/project/lbfgsb/"
Documentation = "https://lbfgsb.readthedocs.io/en/latest/"
Repository = "https://github.com/antoinecollet5/lbfgsb"
Issues = "https://github.com/antoinecollet5/lbfgsb/issues"
Changelog = "https://github.com/antoinecollet5/lbfgsb/blob/master/CHANGELOG.rst"
[tool.setuptools]
py-modules = []
packages = ["lbfgsb"]
[tool.setuptools.dynamic]
version = { attr = "lbfgsb.__about__.__version__" }
[tool.rye]
dev-dependencies = [
"pytest>=8.2.2",
"py7zr",
"testpath",
"pre-commit",
"mypy",
"tox",
"coverage",
]
[tool.ruff]
lint.select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
]
src = ["src", "tests", "docs"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["A", "B", "C", "D", "E", "F", "I"]
lint.unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Same as Black.
line-length = 88
# Allow unused variables when underscore-prefixed.
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.11.
target-version = "py311"
# [tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
# max-complexity = 10
[tool.pylint.LOGGING]
# Format style used to check logging format string. `old` means using %
# formatting, `new` is for `{}` formatting,and `fstr` is for f-strings.
logging-format-style = "fstr"