forked from skfolio/skfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
140 lines (129 loc) · 3.36 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "skfolio"
version = "0.0.10"
maintainers = [
{ name = "Hugo Delatte", email = "delatte.hugo@gmail.com" },
]
authors = [
{ name = "Hugo Delatte", email = "delatte.hugo@gmail.com" },
]
description = "Portfolio optimization built on top of scikit-learn"
readme = "README.rst"
requires-python = ">=3.10"
dependencies = [
"numpy>=1.23.4",
"scipy>=1.8.0",
"pandas>=1.4.1",
"cvxpy>=1.4.1",
"scikit-learn>=1.3.2",
"joblib>=1.3.2",
"plotly>=5.15.0"
]
keywords = [
"portfolio",
"optimization",
"optimisation",
"finance",
"asset",
"allocation",
"quantitative",
"quant",
"investment",
"strategy",
"machine-learning",
"scikit-learn",
"data-mining",
"data-science",
]
license = { file = "LICENSE" }
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
'Topic :: Office/Business :: Financial :: Investment',
"Topic :: Software Development",
]
[project.optional-dependencies]
tests = [
"pytest",
"pytest-cov",
"black",
"ruff"
]
docs = [
"Sphinx",
"sphinx-gallery",
"sphinx-design",
"pydata-sphinx-theme==0.13.3",
"matplotlib",
"kaleido",
"sphinx-copybutton",
"numpydoc",
"sphinx-togglebutton",
"sphinx-favicon",
"sphinx-prompt",
"sphinxext.opengraph",
"sphinx-sitemap",
"sphinx-favicon"
]
[project.urls]
"API Reference" = "https://www.skfolio.org/api_reference.html"
Documentation = "https://www.skfolio.org"
Tutorials = "https://www.skfolio.org"
Repository = "https://github.com/skfolio/skfolio"
[tool.setuptools.packages.find]
where = ["src"]
[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
]
branch = "main"
major_on_zero = true
tag_format = "v{version}"
upload_to_pypi = false
upload_to_vcs_release = true
build_command = "python -m pip install build; python -m build --sdist --wheel"
commit_message = "v{version} [skip ci]\n\nAutomatically generated by python-semantic-release " # skip triggering ci pipelines for version commits
[tool.semantic_release.remote]
token = { env = "GH_TOKEN" }
[tool.black]
line-length = 88
target_version = ["py310", "py311"]
preview = true
[tool.ruff]
include = ["pyproject.toml", "src/**/*.py"]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"A", # prevent using keywords that clobber python builtins
"B", # bugbear: security warnings
"E", # pycodestyle
"F", # pyflakes
"ISC", # implicit string concatenation
"UP", # alert you when better syntax is available in your python version
"RUF", # the ruff developer's own rules
]
ignore = ["E203", "E501"]
# Same as Black.
line-length = 88
target-version = "py310"
[tool.ruff.isort]
case-sensitive = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]