Skip to content

Commit 5e879be

Browse files
Use a consistent format for comments for noqa: DOC502
Co-authored-by: daniel-zullo-frequenz <[email protected]> Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 0aa3c8a commit 5e879be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/frequenz/sdk/timeseries/_formula_engine/_formula_generators/_pv_power_formula.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
class PVPowerFormula(FormulaGenerator[Power]):
1818
"""Creates a formula engine for calculating the PV power production."""
1919

20-
def generate( # noqa: DOC502 (ComponentNotFound and RuntimeError are raised
21-
# indirectly by _get_pv_power_components)
20+
def generate( # noqa: DOC502
21+
# * ComponentNotFound is raised indirectly by _get_pv_power_components
22+
# * RuntimeError is also raised indirectly by _get_pv_power_components
2223
self,
2324
) -> FormulaEngine[Power]:
2425
"""Make a formula for the PV power production of a microgrid.

0 commit comments

Comments
 (0)