forked from jcrichard/pyrb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (70 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
77 lines (70 loc) · 1.84 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
[build-system]
requires = ["uv_build>=0.7.20,<0.8.0"]
build-backend = "uv_build"
[project]
name = "pyrb"
version = "1.0.1"
description = "pyrb is a Python library to solve constrained risk budgeting problem."
readme = "README.md"
authors = [
{name = "Jean-Charles Richard", email = "jcharles.richard@gmail.com"}
]
license = "Apache-2.0"
requires-python = ">=3.12"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = [
"pandas>=2.3.0",
"numba>=0.61.0",
"quadprog>=0.1.13",
"scipy>=1.16.0",
"numpy>=2.2.0",
"ipykernel>=6.29.5",
"jupytext>=1.17.2",
"matplotlib>=3.10.7",
"pip>=25.3",
"notebook>=7.4.7",
]
[dependency-groups]
dev = [
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"ruff>=0.12.2",
]
[tool.ruff]
line-length = 88
target-version = "py312"
fix = true
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by formatter
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**/*" = ["F401", "F811"]
"notebooks/**/*" = ["F821", "B018"] # Notebooks may use IPython display() and have useless expressions for display
[tool.ruff.lint.isort]
known-first-party = ["pyrb"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"