Skip to content

Commit

Permalink
Type hint not always a callable
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-ryan committed Mar 18, 2024
1 parent fe0d7b7 commit d1f1f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion behave_cucumber_matcher/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ParameterTypeOverrides(cucumber_expressions.parameter_type.ParameterType):
def __init__( # noqa: D107
self,
*args,
type: Callable, # noqa: A002
type: Any, # noqa: A002
# Fixes missing defaults in Cucumber Expressions below or equal to 17.0.2
transformer: Optional[Callable] = None,
# Fixes missing defaults in Cucumber Expressions below 17.0.2
Expand Down

0 comments on commit d1f1f6e

Please sign in to comment.