diff options
| author | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-24 11:14:14 +0300 |
|---|---|---|
| committer | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-24 11:14:14 +0300 |
| commit | 22f016a10a3e53b5c9a6bf5462c1b17035ebbffd (patch) | |
| tree | 267f8d9ab3033cef732b6a46d5dd9ee97f638b0d /robusta_krr/strategies | |
| parent | e2202eaf8a2acf4cc75837442424c3ede73d83e9 (diff) | |
Fix formatting and linting
Diffstat (limited to 'robusta_krr/strategies')
| -rw-r--r-- | robusta_krr/strategies/simple.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/robusta_krr/strategies/simple.py b/robusta_krr/strategies/simple.py index fa946da..101d783 100644 --- a/robusta_krr/strategies/simple.py +++ b/robusta_krr/strategies/simple.py @@ -1,5 +1,5 @@ -import pydantic as pd import numpy as np +import pydantic as pd from numpy.typing import NDArray from robusta_krr.core.abstract.strategies import ( @@ -14,9 +14,7 @@ from robusta_krr.core.abstract.strategies import ( class SimpleStrategySettings(StrategySettings): - cpu_percentile: float = pd.Field( - 99, gt=0, le=100, description="The percentile to use for the CPU recommendation." - ) + cpu_percentile: float = pd.Field(99, gt=0, le=100, description="The percentile to use for the CPU recommendation.") memory_buffer_percentage: float = pd.Field( 5, gt=0, description="The percentage of added buffer to the peak memory usage for memory recommendation." ) |
