-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (108 loc) · 2.97 KB
/
Copy pathpyproject.toml
File metadata and controls
124 lines (108 loc) · 2.97 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel.force-include]
"info/PARAMETERS.md" = "owlplanner/PARAMETERS.md"
"info/modeling-capabilities.md" = "owlplanner/MODELING_CAPABILITIES.md"
[project]
name = "owlplanner"
# Single source of truth for the version. Keep in sync with src/owlplanner/version.py
# via `make sync-version` (enforced by tests/utils/test_version.py).
version = "2026.7.29"
authors = [
{ name="Martin-D. Lacasse", email="martin.d.lacasse@gmail.com" },
]
maintainers = [
{ name="Martin-D. Lacasse", email="martin.d.lacasse@gmail.com" },
]
description = "Owl - Optimal wealth lab: Retirement planner with great wisdom"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Intended Audience :: End Users/Desktop",
"Topic :: Office/Business :: Financial :: Investment",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"pydantic>=2.0",
"highspy",
"matplotlib",
"numpy",
"odfpy",
"openpyxl",
"pandas",
"plotly>=6.3",
"seaborn",
"scipy",
"streamlit",
"toml",
"click>=8.3.1",
"mosek",
"loguru>=0.7.3",
"mcp>=2,<3",
]
license = {file = "LICENSE"}
[project.optional-dependencies]
notebooks = ["jupyter>=1.1.1"]
assistant = ["anthropic>=0.40"]
[project.urls]
HomePage = "https://github.com/mdlacasse/owl"
Repository = "https://github.com/mdlacasse/owl"
Issues = "https://github.com/mdlacasse/owl/issues"
Documentation = "https://github.com/mdlacasse/Owl#documentation"
Paper = "https://github.com/mdlacasse/Owl/blob/main/papers/owl.pdf"
DOWNLOAD = "https://github.com/mdlacasse/Owl/archive/refs/heads/main.zip"
[project.scripts]
owlcli = "owlplanner.cli._main:cli"
[dependency-groups]
dev = [
"flake8",
"pytest>=9.0.2",
"pytest-xdist",
"scikit-learn",
"watchdog",
]
[tool.mypy]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"pandas.*",
"plotly.*",
"scipy.*",
"mosek.*",
"openpyxl.*",
"toml.*",
"seaborn.*",
"loguru.*",
]
ignore_missing_imports = true
[tool.ruff]
line-length = 120
indent-width = 4
exclude = [
"build",
"dist",
"examples",
"otherfiles",
"myfiles",
"*.ipynb",
]
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
# 1. Enable flake8-bugbear (`B`) rules, in addition to the defaults.
select = ["E4", "E7", "E9", "F", "B"]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = ["E501"]
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
[tool.ruff.lint.per-file-ignores]
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in selected subdirectories.
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]
[tool.ruff.format]
# 5. Use double quotes in `ruff format`.
quote-style = "double"