Skip to content

Commit 7bb5884

Browse files
authored
TYPDOC: typing and docs (#170) (#1093)
1 parent 12ec95c commit 7bb5884

File tree

25 files changed

+1445
-434
lines changed

25 files changed

+1445
-434
lines changed

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,21 +154,21 @@ exclude = [
154154
# "/instruments/components/protocols",
155155
"/instruments/components/cds.py",
156156
"/instruments/components/fly.py",
157-
"/instruments/components/fra.py",
157+
# "/instruments/components/fra.py",
158158
"/instruments/components/fx_forward.py",
159159
"/instruments/components/fx_swap.py",
160160
"/instruments/components/fx_vol_value.py",
161-
"/instruments/components/iirs.py",
161+
# "/instruments/components/iirs.py",
162162
# "/instruments/components/irs.py",
163163
"/instruments/components/ndf.py",
164164
"/instruments/components/portfolio.py",
165-
"/instruments/components/sbs.py",
165+
# "/instruments/components/sbs.py",
166166
"/instruments/components/spread.py",
167167
"/instruments/components/stir_future.py",
168168
"/instruments/components/value.py",
169-
"/instruments/components/xcs.py",
170-
"/instruments/components/zcis.py",
171-
"/instruments/components/zcs.py",
169+
# "/instruments/components/xcs.py",
170+
# "/instruments/components/zcis.py",
171+
# "/instruments/components/zcs.py",
172172
]
173173
strict = true
174174
#packages = [

python/rateslib/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __init__(self) -> None:
6060
# Instrument parameterisation
6161

6262
self.metric = {
63-
"SBS": "float_spread",
63+
"SBS": "leg1",
6464
}
6565
self.convention = "ACT360"
6666
self.notional = 1.0e6

0 commit comments

Comments
 (0)