Skip to content

Commit

Permalink
static checks
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Aug 26, 2024
1 parent 3c4d8a5 commit b16e183
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def setUp(self, *unused):
import logging
from decimal import Decimal
from math import ceil, floor
from typing import Callable, Dict, List, Optional, Tuple, Union
from typing import Any, Callable, Dict, List, Optional, Tuple, Union

import tenacity
from lightkube import ApiError, Client # pyright: ignore
Expand Down Expand Up @@ -156,7 +156,9 @@ def setUp(self, *unused):


def adjust_resource_requirements(
limits: Optional[dict], requests: Optional[dict], adhere_to_requests: bool = True
limits: Optional[Dict[Any, Any]],
requests: Optional[Dict[Any, Any]],
adhere_to_requests: bool = True,
) -> ResourceRequirements:
"""Adjust resource limits so that `limits` and `requests` are consistent with each other.
Expand Down

0 comments on commit b16e183

Please sign in to comment.