Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
ncilfone committed Jan 21, 2022
1 parent b639cfd commit 7adfe1c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions spock/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Any, Callable, Tuple, TypeVar, Union, overload, Optional, List, Type

from spock.builder import ConfigArgBuilder
from typing import Any, Callable, List, Optional, Tuple, Type, TypeVar, Union, overload

from attr import attrib, field

from spock.builder import ConfigArgBuilder

_T = TypeVar("_T")
_C = TypeVar("_C", bound=type)

Expand Down Expand Up @@ -48,5 +48,5 @@ def SpockBuilder(
lazy: bool = False,
no_cmd_line: bool = False,
s3_config: Optional[_C] = None,
**kwargs
) -> ConfigArgBuilder: ...
**kwargs,
) -> ConfigArgBuilder: ...
2 changes: 1 addition & 1 deletion spock/addons/tune/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ChoiceHyperParameter,
OptunaTunerConfig,
RangeHyperParameter,
spockTuner
spockTuner,
)

__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion spock/addons/tune/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def spockTuner(
maybe_cls: None = ...,
kw_only: bool = True,
make_init: bool = True,
) -> Callable[[_C], _C]: ...
) -> Callable[[_C], _C]: ...
2 changes: 1 addition & 1 deletion spock/addons/tune/config.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ def spockTuner(
maybe_cls: None = ...,
kw_only: bool = True,
make_init: bool = True,
) -> Callable[[_C], _C]: ...
) -> Callable[[_C], _C]: ...

0 comments on commit 7adfe1c

Please sign in to comment.