- Add -r requirements.txt to requirements-dev.txt - Fix mypy errors: - Remove slots=True from Settings dataclass - Add explicit list[float] type annotations in hedge.py - Add type ignore comments for optional QuantLib imports - Use Sequence instead of list in GreeksTable for covariance - Fix dict type annotation in options.py - Add type ignore for nicegui attr-defined errors - Disable attr-defined error code in mypy config
30 lines
541 B
TOML
30 lines
541 B
TOML
[project]
|
|
name = "vault-dash"
|
|
version = "1.0.0"
|
|
description = "Options hedging dashboard for Lombard loan protection"
|
|
requires-python = ">=3.11"
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
exclude = ["app/components/*.py", "app/pages/*.py"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E4", "E7", "E9", "F", "I"]
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
extend-exclude = '''
|
|
/(
|
|
app/components
|
|
| app/pages
|
|
)/
|
|
'''
|
|
|
|
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
disable_error_code = ["attr-defined"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
addopts = "-v" |