Skip to content

Commit 87332be

Browse files
committed
Complies with pylint
1 parent 430903f commit 87332be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

climada/trajectories/impact_calc_strat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
__all__ = ["ImpactCalcComputation"]
3333

3434

35+
# The following is acceptable.
36+
# We design a pattern, and currently it requires only to
37+
# define the compute_impacts method.
38+
# pylint: disable=too-few-public-methods
3539
class ImpactComputationStrategy(ABC):
3640
"""
3741
Interface for impact computation strategies.
@@ -73,7 +77,6 @@ def compute_impacts(
7377
--------
7478
ImpactCalcComputation : The default implementation of this interface.
7579
"""
76-
...
7780

7881

7982
class ImpactCalcComputation(ImpactComputationStrategy):

0 commit comments

Comments
 (0)