Skip to content

Commit

Permalink
fix precommit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cblades-tc committed Oct 7, 2024
1 parent cb01b27 commit 66ec0aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tcex/api/tc/ti_transform/ti_predefined_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def _is_function(obj):
getattr(fn, '_tcex_function_definition', {})
or {
'name': fn.__name__,
'label': self._snake_to_tilecase(fn.__name__),
'label': self._snake_to_titlecase(fn.__name__),
'params': self._get_params_defs(fn),
'help': getattr(fn, '__doc__', ''),
}
Expand Down Expand Up @@ -300,7 +300,7 @@ def _get_params_defs(fn) -> list[ParamDefinition]:
sig.parameters[p].default if sig.parameters[p].default != _empty else None
),
'name': p,
'label': ProcessingFunctions._snake_to_tilecase(p),
'label': ProcessingFunctions._snake_to_titlecase(p),
'type': (
sig.parameters[p].annotation.__name__ if sig.parameters[p].annotation else 'str'
),
Expand Down
4 changes: 1 addition & 3 deletions tcex/api/tc/ti_transform/ti_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
from datetime import datetime

# first-party
from build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.build.lib.tcex.api.tc.ti_transform.transform_abc import (
TransformException,
)
from tcex.api.tc.ti_transform.model import GroupTransformModel, IndicatorTransformModel
from tcex.api.tc.ti_transform.transform_abc import (
NoValidTransformException,
TransformABC,
TransformException,
TransformsABC,
)

Expand Down

0 comments on commit 66ec0aa

Please sign in to comment.