Skip to content

Commit 6a80f19

Browse files
authored
TYPDOC: Typing and docs (#171) (#1094)
1 parent 7bb5884 commit 6a80f19

File tree

24 files changed

+420
-205
lines changed

24 files changed

+420
-205
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ exclude = [
152152
"/instruments/components/bonds",
153153
"/instruments/components/fx_options",
154154
# "/instruments/components/protocols",
155-
"/instruments/components/cds.py",
155+
# "/instruments/components/cds.py",
156156
"/instruments/components/fly.py",
157157
# "/instruments/components/fra.py",
158-
"/instruments/components/fx_forward.py",
159-
"/instruments/components/fx_swap.py",
158+
# "/instruments/components/fx_forward.py",
159+
# "/instruments/components/fx_swap.py",
160160
"/instruments/components/fx_vol_value.py",
161161
# "/instruments/components/iirs.py",
162162
# "/instruments/components/irs.py",
163-
"/instruments/components/ndf.py",
163+
# "/instruments/components/ndf.py",
164164
"/instruments/components/portfolio.py",
165165
# "/instruments/components/sbs.py",
166166
"/instruments/components/spread.py",

python/rateslib/curves/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@
2525
)
2626

2727
__all__ = (
28-
"CompositeCurve",
2928
"Curve",
3029
"LineCurve",
30+
"CompositeCurve",
3131
"MultiCsaCurve",
3232
"ProxyCurve",
3333
"CreditImpliedCurve",
34+
"RolledCurve",
35+
"ShiftedCurve",
36+
"TranslatedCurve",
37+
"_BaseCurve",
38+
"_WithOperations",
39+
"_WithMutability",
3440
"average_rate",
3541
"index_left",
3642
"index_value",
@@ -40,10 +46,4 @@
4046
"_CurveInterpolator",
4147
"_CurveNodes",
4248
"_ProxyCurveInterpolator",
43-
"RolledCurve",
44-
"ShiftedCurve",
45-
"TranslatedCurve",
46-
"_WithOperations",
47-
"_BaseCurve",
48-
"_WithMutability",
4949
)

python/rateslib/enums/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
)
99

1010
__all__ = [
11-
"Ok",
12-
"Err",
13-
"Result",
14-
"NoInput",
1511
"FloatFixingMethod",
16-
"IndexMethod",
1712
"SpreadCompoundMethod",
13+
"IndexMethod",
1814
"FXDeltaMethod",
1915
"FXOptionMetric",
16+
"NoInput",
17+
"Result",
18+
"Ok",
19+
"Err",
2020
]

0 commit comments

Comments
 (0)