@@ -517,7 +517,7 @@ def _complete_irradiance(solar_zenith,
517517 dhi = None ,
518518 dni = None ,
519519 dni_clear = None ):
520- """
520+ r """
521521 TODO: This method exists in the pvlib-python library. Once a new PVLib
522522 release or pre-release is cut, this private function can be deleted and
523523 the associated PVLib function can be directly leveraged.
@@ -550,14 +550,14 @@ def _complete_irradiance(solar_zenith,
550550 datetime index as ghi, dhi, and zenith series, when available.
551551 dni_clear : Series, optional
552552 Pandas series of clearsky dni data. Must have the same datetime index
553- as `ghi`, `dhi`, `dni`, and `solar_zenith` series, when available. See pvlib-python's
553+ as `ghi`, `dhi`, `dni`, and `solar_zenith` series, when available. See pvlib-python's
554554 [dni](https://pvlib-python.readthedocs.io/en/stable/reference/generated/pvlib.irradiance.dni.html#pvlib.irradiance.dni) for details.
555555
556556 Returns
557557 -------
558558 component_sum_df : Dataframe
559559 Pandas series of 'ghi', 'dhi', and 'dni' columns with datetime index
560- """
560+ """ # noqa: E501
561561 if ghi is not None and dhi is not None and dni is None :
562562 dni = pvlib .irradiance .dni (ghi , dhi , solar_zenith ,
563563 clearsky_dni = dni_clear ,
@@ -620,7 +620,7 @@ def calculate_component_sum_series(solar_zenith,
620620 dni_clear : Series, optional
621621 Pandas series of clearsky dni data. Must have the same datetime index
622622 as `ghi`, `dhi`, `dni`, and `solar_zenith`, when available. See
623- pvlib-python's
623+ pvlib-python's
624624 `dni <https://pvlib-python.readthedocs.io/en/stable/reference/generated/pvlib.irradiance.dni.html#pvlib.irradiance.dni>`_ for details.
625625 zenith_limit: Float
626626 Solar zenith boundary between night and day, in degrees.
@@ -643,7 +643,7 @@ def calculate_component_sum_series(solar_zenith,
643643 Series
644644 Pandas series of the calculated values, based on the component sum
645645 equation and corrected for nighttime periods.
646- '''
646+ ''' # noqa: E501
647647 component_sum_df = _complete_irradiance (solar_zenith , ghi ,
648648 dhi , dni , dni_clear )
649649 if ghi is None :
0 commit comments