Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
ncilfone committed Apr 28, 2022
1 parent 1a5ec5d commit 74d8ae6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spock/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
import sys
from argparse import _ArgumentGroup
from enum import EnumMeta
from math import isclose
from pathlib import Path
from time import localtime, strftime
from typing import Any, Dict, List, Tuple, Type, TypeVar, Union
from warnings import warn
from math import isclose

import attr
import git
Expand Down Expand Up @@ -80,7 +80,13 @@ def _filter_optional(val: List, allow_optional: bool = True):
return filtered_val


def sum_vals(val: List[Union[float, int, None]], sum_val: Union[float, int], allow_optional: bool = True, rel_tol: float = 1E-9, abs_tol: float = 0.0):
def sum_vals(
val: List[Union[float, int, None]],
sum_val: Union[float, int],
allow_optional: bool = True,
rel_tol: float = 1e-9,
abs_tol: float = 0.0,
):
"""Checks if an iterable of values sums within tolerance to a specified value
Args:
Expand Down

0 comments on commit 74d8ae6

Please sign in to comment.