Skip to content

Commit 61cd48b

Browse files
committed
Capitalize TODOs in .report.computations
1 parent 09fac8e commit 61cd48b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

message_ix_models/report/computations.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Atomic reporting computations for MESSAGEix-GLOBIOM."""
1+
"""Atomic reporting operations for MESSAGEix-GLOBIOM."""
22
import itertools
33
import logging
44
from typing import Any, List, Optional, Set, Union
@@ -46,7 +46,7 @@ def get_ts(
4646
4747
Corresponds to :meth:`ixmp.Scenario.timeseries`.
4848
49-
.. todo:: move upstream, e.g. to :mod:`ixmp` alongside :func:`.store_ts`.
49+
.. todo:: Move upstream, e.g. to :mod:`ixmp` alongside :func:`.store_ts`.
5050
"""
5151
filters = filters or dict()
5252

@@ -95,7 +95,7 @@ def make_output_path(config, name):
9595
def model_periods(y: List[int], cat_year: pd.DataFrame) -> List[int]:
9696
"""Return the elements of `y` beyond the firstmodelyear of `cat_year`.
9797
98-
.. todo:: move upstream, to :mod:`message_ix`.
98+
.. todo:: Move upstream, to :mod:`message_ix`.
9999
"""
100100
return list(
101101
filter(
@@ -114,10 +114,10 @@ def remove_ts(
114114
) -> None:
115115
"""Remove all time series data from `scenario`.
116116
117-
.. todo:: improve to provide the option to remove only those periods in the model
117+
.. todo:: Improve to provide the option to remove only those periods in the model
118118
horizon.
119119
120-
.. todo:: move upstream, e.g. to :mod:`ixmp` alongside :func:`.store_ts`.
120+
.. todo:: Move upstream, e.g. to :mod:`ixmp` alongside :func:`.store_ts`.
121121
"""
122122
data = scenario.timeseries()
123123
N = len(data)
@@ -149,7 +149,7 @@ def remove_ts(
149149
# def from_url(url: str) -> message_ix.Scenario:
150150
# """Return a :class:`message_ix.Scenario` given its `url`.
151151
#
152-
# .. todo:: move upstream to :mod:`message_ix.reporting`.
152+
# .. todo:: Move upstream to :mod:`message_ix.reporting`.
153153
# .. todo:: Create a similar method in :mod:`ixmp.reporting` to load and return
154154
# :class:`ixmp.TimeSeries` (or :class:`ixmp.Scenario`) given its `url`.
155155
# """

0 commit comments

Comments
 (0)